We recommend adding a Meta Description, Focus Keyword, and SEO Title to all your posts and pages to increase the organic traffic to your website.
In the unlikely event if you’re unable to save SEO Title, Description, and/or Focus Keyword while trying to update your post or page – here are some of the most common causes:
Table Of Contents
1 Plugin Conflicts
There can be plugin conflicts due to which you might not be able to save the SEO Title, Description, and Focus Keyword. You can solve these plugin conflicts by going through our knowledgebase article on plugin conflict.
In case if you’ve followed through our plugin conflict tutorial and troubleshot but still couldn’t find any conflict, then proceed with the next step.
Open the Developer Tools Console Panel
To open the console panel in Chrome Developer Tools, navigate to More Tools > Developer Tools from the Chrome menu.
And then click the Console tab as shown below.
Alternatively, you can use the keyboard shortcut, Cmd + Option + J (in Mac) or Ctrl + Shift + J (in Windows, Linux) to open the Chrome console panel.
Identify the Error
The error console will open. If the error doesn’t appear, you may need to try reloading the page. The error console would provide the details of the error, such as — error type, where the error appears, and the line number.
You can also open a support ticket in our Rank Math support forum with the error details so that our support expert can have a look into the issue that is preventing Rank Math from saving the metadata.
3 Firewall Blocked Access to the File
If you are using a Firewall, then there are chances that it will prevent saving the data. Check if Rank Math is being blocked by your firewall and if it is the case, whitelist Rank Math and its files.
If you see blocked access to these files:
/wp-json/rankmath/v1/updateMeta /wp-json/rankmath/v1/updateSchemas /wp-json/rankmath/v1/updateRedirection /wp-json/rankmath/v1/getFeaturedImageId /wp-json/rankmath/v1/getHead
Then, you can whitelist the file using Wordfence in Learning Mode. These instructions are for Wordfence but will likely work on any firewall plugin/software.
3.1 How to Ensure Rank Math Meta Data Can Be Updated?
To ensure Rank Math can update the metadata, you’d need to double-check that the above-listed files are being whitelisted and the access to these files isn’t blocked by any firewall or security plugin like Wordfence.
If you’re a Wordfence user, then try if you can replicate the issue. In case if it is Wordfence that is blocking access to Rank Math, then you’d need to whitelist Rank Math’s files in Wordfence. We’ve got a dedicated tutorial to help you with this.
Note: If you aren’t using a firewall/security plugin on your website but still noticing access to these files is blocked and returning a 403 error, then you may ask your web host why the files are showing 403 error.
3.2 How to Whitelist Rank Math File in Cloudflare?
If you’re using Cloudflare and ran into a situation where the Rank Math files are being blocked by Cloudflare, then we recommend adding page rule(s) in Cloudflare to disable security for these URLs. The following steps will help you add a page rule in Cloudflare.
Navigate to Rules in Cloudflare
In the Cloudflare dashboard of your domain, navigate to the Rules section as shown in the image below.
Create New Page Rule
Under the Rules tab, click the Create Page Rule button.
The next page lets you create a page rule. You’ll have to enter the path of the Rank Math file to be whitelisted in the field “If the URL matches” as:
*example.com/wp-json/rankmath/v1/updateMeta* *example.com/wp-json/rankmath/v1/updateSchemas* *example.com/wp-json/rankmath/v1/updateRedirection* *example.com/wp-json/rankmath/v1/getFeaturedImageId* *example.com/wp-json/rankmath/v1/getHead*
Make sure that you replace example.com with your domain name. Cloudflare lets you add only URL per page rule, so you would need to create additional page rules to whitelist other URLs.
Note: In the free plan, Cloudflare offers only 3 page rules. So if you’re using the free plan, you may need to include only the essential page rules from the above list. For instance,
getHead is required only if you’re using Headless CMS. Similarly,
updateRedirection head is required, only if you’re facing issues with Redirections.
Next, in the field “Then the settings are” choose Disable security as shown below.
Deploy Page Rule
After adding the necessary settings, click Save and Deploy button. Now Cloudflare security to the Rank Math file has been completely disabled, and you can check if you can save your SEO metadata in Rank Math.
And, that’s it! We hope the article helped you fix the issue preventing the SEO metadata from being saved. If the issue persists, feel free to open a support ticket, and our support team will help you in the best way they can.