Page rule to not redirect

I have everything at the root domain redirecting with a page rule:

*example.com/*

Is there a way to set up a page rule to not redirect a subfolder like so:

*example.com/do/not/redirect/*

Yes, you just have to set this PageRule which excludes this path before the other one as just one single PageRule is getting executed.

So the order goes:

  1. Do not redirect *example.com/do/not/redirect/*
  2. redirect *example.com/*

Would that be an empty page rule?

Yes something like that. just set anything to make this apply.
Like “Browser TTL”

This then should be executed as first PageRule and not trigger the redirect.
Please test and report back.

I selected Browser Cache TTL on the left but Respect Existing Headers is not one of the options on the right.

Just do for 1 Day, 1 Month or 1 Year or anything, it doesnt really matter

That worked. Thank you.

I ended up using Disable Security as my page rule.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.