How to fix “Unable to save the AMP settings”

If you are getting this type of error “There was a problem with your action. Please try again or reload the page.” like below the screenshot.

There are 3 ways to solve this error

Solution 1 – Fixing 406 Error

First, you need to backup your ‘.htaccess‘ file if you have one in the “wp-admin” directory. Then make a ‘.htaccess‘ file with the following content and upload it to “wp-admin” directory.

SecFilterEngine Off
SecFilterScanPOST Off

You can use any text editor such as Notepad to create this file. You will need to upload this ‘.htaccedss file’ to your server. 

Solution 2 – Fixing 406 Error

Backup your ‘.htaccess file’ if you have one in the public_html directory.

Open the ‘.htaccess file’ with any text editor and observe the lines between the “# BEGIN WordPress” and “# END WordPress” tags.

Make sure the lines look somewhat like the following. If not then update the file with the following content and upload it to the ‘public_html‘ directory.

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Solution 3 for – Increase the memory limit

If you are facing “Unable to save the AMP setting” for this you need to increase the memory limit for this you need to follow below the steps

Step 1 – First, you need to login to your Cpanel

Step 2 – In your cPanel, choose MultiPHP INI Editor under the Software section like below the screenshot.

Step 3 – Select the Location in Configure PHP INI basic settings

Step 4 – Go to the PHP Directive memory_limit

Step 5 – Increase the memory size to 512M

Step 6 – Save your changes by clicking the “Apply” button. This will save your configuration.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.


Share
Published by
Sonali R
Article Categories: Troubleshooting

How to create an AWeber form in AMP

If you want to add an AWeber form in AMP then first you need to…

3 years ago

How to setup webpushr notification in AMP

Webpushr is the fastest growing web push notifications platform that marketers love & developers rely…

3 years ago

How to add Adobe Analytics in AMP

Follow these steps to add Adobe Analytics in AMP Step 1: Go to WordPress Admin Area -> AMP…

4 years ago

What is the CWV plugin all about

Core Web Vitals are the subset of Web Vitals that apply to all web pages,…

4 years ago

How to fix “Alternate page with proper canonical tag” Page Index issue in Google Search Console

The following reasons can be shown for non-indexing. Server error (5xx) Your server returned a 500-level…

4 years ago

Google Analytics ( GA4 ) integration in AMPforWP

We have added the Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80.…

4 years ago