Hello,
We apologize for the confusion you’re experiencing with whitelisting Rank Math in Cloudflare. It seems that the option to disable security in Cloudflare’s Page Rules has changed, and we appreciate you bringing this to our attention.
To bypass security for Rank Math in Cloudflare, you will need to create page rules for the specific URLs that Rank Math uses. Here’s how you can do it:
-
Create Page Rules: Go to your Cloudflare dashboard and navigate to the Page Rules section.
-
Add New Page Rule: Click on Create Page Rule.
-
Enter URL Patterns: You will need to enter the following URL patterns one by one:
-
Set Settings: For each rule, choose the setting that allows you to bypass security (this may be labeled differently now, so look for options related to security settings).
-
Save and Deploy: After adding the necessary settings, click Save and Deploy.
You will need to create separate page rules for each of the above URL patterns since Cloudflare allows only one URL per page rule. If you are on the free plan, remember that you have a limit on the number of page rules you can create.
If you continue to face issues or if the settings are unclear, please reply to your ticket, and a human agent from our support team will assist you further. Thank you for your understanding!
Sources:
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
Hello,
If you’re unable to add a page rule in your Cloudflare, we recommend getting in touch with their support so they can help you set up the whitelist.
Looking forward to helping you.
They’ve notified me, and I’ve read the new documentation. Here, I’d like to share the new settings with the Rank Math team and others for whitelisting on Cloudflare.
Rank Math documentation on “How to Whitelist Rank Math in Cloudflare” needs to be updated.
https://rankmath.com/kb/whitelist-rank-math-in-cloudflare/
You can add the code snippet below to your security rules.
(http.request.uri.path wildcard r"*/wp-json/*") or (http.request.uri.path eq "/robots.txt") or (http.request.uri.path wildcard r"*/sitemap_index.xml") or (http.request.uri.path wildcard r"*/post-*") or (ip.src eq 172.66.40.202) or (ip.src eq 172.66.43.54) or (ip.src eq 193.138.6.5) or (ip.src eq 204.48.29.92)
Then take action…
Choose action: Skip
Means a check mark
WAF components to skip:
> All remaining custom rules
> All managed rules
> All Super Bot Fight Mode Rules
Select order: First
Click save. Done.
Hello,
Glad that everything has been sorted out.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.