{"id":12153,"date":"2019-07-09T12:40:36","date_gmt":"2019-07-09T12:40:36","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=12153"},"modified":"2019-08-23T10:08:19","modified_gmt":"2019-08-23T10:08:19","slug":"how-to-fix-unable-to-save-the-amp-settings","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-fix-unable-to-save-the-amp-settings\/","title":{"rendered":"How to fix &#8220;Unable to save the AMP settings&#8221;"},"content":{"rendered":"\n<p>If you are getting this type of error &#8220;<strong>There was a problem with your action. Please try again or reload the page<\/strong>.&#8221; like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"413\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-1024x413.png\" alt=\"\" class=\"wp-image-12163\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-1024x413.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-300x121.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-768x309.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-50x20.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-60x24.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3-100x40.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/07\/error-3.png 1365w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3>There are 3 ways to solve this error<\/h3>\n\n\n\n<h4><mark style=\"background-color: yellow;\">\nSolution 1 &#8211; Fixing 406 Error<\/mark><\/h4>\n\n\n\n<p>First, you need to backup your &#8216;<strong>.htaccess<\/strong>&#8216; file if you have one in the &#8220;<strong>wp-admin<\/strong>&#8221; directory. Then make a &#8216;<strong>.htaccess<\/strong>&#8216; file with the following content and upload it to &#8220;<strong>wp-admin&#8221;<\/strong> directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><IfModule mod_security.c>\nSecFilterEngine Off\nSecFilterScanPOST Off\n<\/IfModule><\/pre>\n\n\n\n<p>You can use any text editor such as Notepad to create this file. You will need to upload this &#8216;<strong>.htaccedss<\/strong> file&#8217; to your server.&nbsp; <\/p>\n\n\n\n<h4><mark style=\"background-color: yellow;\">\n Solution 2 &#8211; Fixing 406 Error<\/mark><\/h4>\n\n\n\n<p>Backup your &#8216;<strong>.htaccess<\/strong> file&#8217; if you have one in the <strong>public_html<\/strong>&nbsp;directory.<\/p>\n\n\n\n<p>Open the &#8216;<strong>.htaccess<\/strong> file&#8217; with any text editor and observe the lines between the &#8220;<strong># BEGIN WordPress<\/strong>&#8221; and &#8220;<strong># END WordPress&#8221;<\/strong> tags. <\/p>\n\n\n\n<p>Make sure the lines look somewhat like the following. If not then update the file with the following content and upload it to the &#8216;<strong>public_html<\/strong>&#8216; directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># BEGIN WordPress\n<IfModule mod_rewrite.c>\nRewriteEngine On\nRewriteBase \/\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n<\/IfModule>\n# END WordPress<\/pre>\n\n\n\n<h4 id=\"mce_28\"><mark style=\"background-color: yellow;\">\n Solution 3 for &#8211; Increase the memory limit<\/mark><\/h4>\n\n\n\n<p>If you are facing &#8220;<strong>Unable to save the AMP setting<\/strong>&#8221;  for this you need to increase the memory limit for this you need to follow below the steps<\/p>\n\n\n\n<p><strong>Step 1<\/strong> &#8211; First, you need to login to your Cpanel<\/p>\n\n\n\n<p><strong>Step 2 <\/strong>&#8211; In your cPanel, choose <strong>MultiPHP INI&nbsp;Editor<\/strong> under the <strong>Software<\/strong> section like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"520\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-1024x520.png\" alt=\"\" class=\"wp-image-13902\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-1024x520.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-300x152.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-768x390.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4-100x51.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-4.png 1352w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> <strong>Step 3<\/strong> &#8211; Select the Location in <strong>Configure PHP INI basic settings <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"516\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-1024x516.png\" alt=\"\" class=\"wp-image-13903\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-1024x516.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-300x151.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-768x387.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6-100x50.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-6.png 1365w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4<\/strong> &#8211; Go to the PHP Directive memory_limit<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"460\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-1024x460.png\" alt=\"\" class=\"wp-image-13905\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-1024x460.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-300x135.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-768x345.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-50x22.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-60x27.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6-100x45.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/3-6.png 1365w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5<\/strong> &#8211; Increase the memory size to 512M<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"371\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-1024x371.png\" alt=\"\" class=\"wp-image-13907\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-1024x371.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-300x109.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-768x278.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-50x18.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-60x22.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5-100x36.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/4-5.png 1345w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 6<\/strong> &#8211; Save your changes by clicking the &#8220;<strong>Apply<\/strong>&#8221; button. This will save your configuration. <\/p>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n\n\n\n<p><br><\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>If you are getting this type of error &#8220;There was a problem with your action. Please try again or reload the page.&#8221; like below the screenshot. There are 3 ways to solve this error Solution 1 &#8211; Fixing 406 Error First, you need to backup your &#8216;.htaccess&#8216; file if you&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[5],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/12153"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=12153"}],"version-history":[{"count":27,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/12153\/revisions"}],"predecessor-version":[{"id":13917,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/12153\/revisions\/13917"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=12153"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=12153"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=12153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}