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.

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:
| Field | Operator | Value |
|---|---|---|
| URI Path | starts with | /wp-json/aioseo/ |
If you want to also restrict it to your domain only, you can add an AND condition:
| Field | Operator | Value |
|---|---|---|
| Hostname | equals | mydomain.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)
IMPORTANT:
The rule order matters, so make sure the Skip rule is positioned above any block/challenge rules in your list. Cloudflare evaluates custom rules top-to-bottom and stops at the first match.
Finally, click the Deploy button to save and activate the rule.
NOTE:
The Skip action and its options are available on Cloudflare Pro plans and above. On free Cloudflare plans, you may have more limited skip options.

Your new Page Rule should look like this:

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.