How do I create a Page Rule?

To create a new page rule:

  1. Log in to the Cloudflare dashboard.
  2. Ensure the website you want to update is selected.
  3. Click the Page Rules app.
  4. Ensure you have at least one page rule left, based on your plan.
  5. Under the Page Rules pane, click Create Page Rule.
  6. For If the URL matches, enter the website pattern you want to match.
  7. Click + Add a Setting and choose the rule you want to apply. You can repeat to add more settings.
  8. To finish, click Save and Deploy.

Once saved, your new page rule appears in a list under the Page Rules pane. 

Page rules are applied based on the order in which they appear. If you want to change the position of a page rule, you can reorder it by moving it up or down on the list using the icon on the left.

To learn more, see a detailed Page Rules tutorial.

Related resources

 

 

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk