Page rule timing


#1

We use page rules extensively during maintenance periods on our website to redirect traffic to different places, and have always wondered why there is no feature to put a start and end time against a rule - would make it much easier to manage for us.


#2

Hello @stuart.campbell,

Unfortunately, this is not something we’re planning to release anytime soon. I do agree that would be great to do so, and actually, it is :slight_smile:

You can integrate a call to our API which activates or deactivate the page rule in charge of that maintenance redirection for the period of your choice.
https://api.cloudflare.com/#page-rules-for-a-zone-update-a-page-rule