Unable to Save Settings Due to Cloudflare Firewall Rules

If you use Cloudflare and you're having a problem saving settings in All in One SEO, including adding your license key in AIOSEO Pro, then you may be getting blocked by the firewall rules in Cloudflare.

Follow these steps to add a custom rule in your Cloudflare Dashboard to allow AIOSEO to save settings:

First, log into your Cloudflare account and click on Domains > Overview in the left hand menu.

Click on the domain you want to add the rule to, then, in the left hand menu click on Security > Security rules.

Security rules screen in the Cloudflare Dashboard

Click the Create Page Rule button and select Custom rules.

Give your rule a name and set the rule condition as follows:

In When incoming requests match, configure the field like this:

FieldOperatorValue
URI Pathstarts with/wp-json/aioseo/

If you want to also restrict it to your domain only, you can add an AND condition:

FieldOperatorValue
Hostnameequalsmydomain.com

Under Then take action, choose Skip from the dropdown. This is the key — it tells Cloudflare to bypass security checks rather than block or challenge.

You'll then see a list of what to skip. Check all that apply to your use case:

  • Skip → All remaining custom rules
  • Skip → WAF Managed Rules (Cloudflare Managed Ruleset, OWASP)
  • Skip → Rate limiting rules (if AIOSEO REST calls are hitting rate limits)
  • Skip → User Agent Blocking (optional, but can help)

Finally, click the Deploy button to save and activate the rule.

Completed Custom Rule shown in Cloudflare

Your new Page Rule should look like this:

Deployed custom rule for All in One SEO shown in Cloudflare

If you’re unsure what to do, you can reach out to your hosting provider or the Support team at Cloudflare and they should be able to help you in adding the custom rule.

Now go back to All in One SEO on your site and make sure you can save changes to settings.

If you're still not able to save settings then please contact us for support here.