{"id":14579,"date":"2019-10-15T11:03:44","date_gmt":"2019-10-15T11:03:44","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=14579"},"modified":"2019-10-15T11:21:12","modified_gmt":"2019-10-15T11:21:12","slug":"how-to-fix-your-category-pages-if-there-are-not-working-on-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-fix-your-category-pages-if-there-are-not-working-on-amp\/","title":{"rendered":"How to fix your category pages if there are not working on AMP"},"content":{"rendered":"\n<p>If your categories are not working in AMP then you need to make you have set up these two things<\/p>\n\n\n\n<h4><strong>Reason One: <\/strong><\/h4>\n\n\n\n<p><strong>First, make sure to check the category option turned or not. <\/strong><\/p>\n\n\n\n<p>You will find this option in the <strong>WordPress Dashboard<\/strong> -> <strong>AMP<\/strong> -> <strong>Settings<\/strong> -> <strong>General <\/strong>-> Once you enable &#8220;<strong>Archives[Category &amp; Tags]<\/strong>&#8221; option inside &#8220;<strong>Category<\/strong>&#8221; option will be display and then click on the &#8220;<strong>Save Changes<\/strong>&#8221; button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"493\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-1024x493.png\" alt=\"\" class=\"wp-image-14580\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-1024x493.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-300x145.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-768x370.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-60x29.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12-100x48.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/10\/12.png 1297w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4>Reason Two:<\/h4>\n\n\n\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 \u2013 http:\/\/example.com\/category\/sport\/<\/p>\n\n\n\n<p>To \u2013 http:\/\/example.com\/sport\/<\/p>\n\n\n\n<h4 id=\"here-are-the-steps-to-remove-the-category-base-in-amp\"><strong>Here are the steps to remove the category base in AMP:<\/strong><\/h4>\n\n\n\n<p><strong>1.<\/strong>&nbsp;First Go to the&nbsp;<strong>WordPress admin area -&gt; AMP option panel -&gt; Settings -&gt; Advance Settings.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><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>\n\n\n\n<p><strong>2.<\/strong>&nbsp;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<p><strong>Category base removes in AMP:&nbsp;<\/strong>Once you enable this option it will remove the Category base in AMP also.<\/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.<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 your categories are not working in AMP then you need to make you have set up these two things Reason One: First, make sure to check the category option turned or not. You will find this option in the WordPress Dashboard -> AMP -> Settings -> General -> Once&#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\/14579"}],"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=14579"}],"version-history":[{"count":10,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/14579\/revisions"}],"predecessor-version":[{"id":14590,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/14579\/revisions\/14590"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=14579"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=14579"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=14579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}