{"id":7577,"date":"2019-04-22T05:48:08","date_gmt":"2019-04-22T05:48:08","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=7577"},"modified":"2020-01-31T06:42:13","modified_gmt":"2020-01-31T06:42:13","slug":"how-to-remove-the-category-base-in-the-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-remove-the-category-base-in-the-amp\/","title":{"rendered":"How to remove the category base in the AMP"},"content":{"rendered":"\n<p>If you removed the category base in your non-AMP version (normal website) then you need to remove it in AMP as well by following these steps.<\/p>\n\n\n\n<p><strong>For example:<\/strong><\/p>\n\n\n\n<p>From &#8211; http:\/\/example.com\/category\/sport\/<\/p>\n\n\n\n<p>To &#8211; http:\/\/example.com\/sport\/   <\/p>\n\n\n\n<h4><strong>Here are the steps to remove the category base in AMP:<\/strong><\/h4>\n\n\n\n<p><strong>Step 1 &#8211;<\/strong> Once you install and activate our AMPforWP plugin then we will have these two options. <\/p>\n\n\n\n<ul><li><strong>Basic Setup View<\/strong><\/li><li><strong>Advance Setup View<\/strong><\/li><\/ul>\n\n\n\n<p>You need to select the <strong>Advance Setup View <\/strong>option and then select <strong>Settings <\/strong>option like below the screenshot and all our options will appear.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"474\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-1024x474.png\" alt=\"\" class=\"wp-image-15890\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-1024x474.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-300x139.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-768x356.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2-100x46.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/6-2.png 1349w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2 &#8211;<\/strong> First Go to the <strong>WordPress admin area -&gt; AMP option panel -&gt; Settings -&gt; Advance Settings.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"395\" height=\"602\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting.png\" alt=\"\" class=\"wp-image-7581\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting.png 395w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting-197x300.png 197w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting-33x50.png 33w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting-39x60.png 39w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/ampsetting-66x100.png 66w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/figure><\/div>\n\n\n\n<p><strong> Step 3 &#8211;<\/strong> Scroll down a little to see this option. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"743\" height=\"78\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase.png\" alt=\"\" class=\"wp-image-7584\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase.png 743w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase-300x31.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase-50x5.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase-60x6.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/categorybase-100x10.png 100w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/figure>\n\n\n\n<ul><li><strong>Category base removes in AMP: <\/strong>Once you enable this option it will remove the Category base in AMP also. <\/li><\/ul>\n\n\n\n<p><strong>Step 4 &#8211;<\/strong> Click on the &#8220;<strong>Save Changes<\/strong>&#8221; button.<\/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<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 removed the category base in your non-AMP version (normal website) then you need to remove it in AMP as well by following these steps. For example: From &#8211; http:\/\/example.com\/category\/sport\/ To &#8211; http:\/\/example.com\/sport\/ Here are the steps to remove the category base in AMP: Step 1 &#8211; Once you&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7577"}],"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=7577"}],"version-history":[{"count":28,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7577\/revisions"}],"predecessor-version":[{"id":15891,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7577\/revisions\/15891"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=7577"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=7577"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=7577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}