{"id":10898,"date":"2019-06-10T08:04:44","date_gmt":"2019-06-10T08:04:44","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=10898"},"modified":"2020-01-30T06:22:50","modified_gmt":"2020-01-30T06:22:50","slug":"how-to-add-amp-in-menu-url","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-amp-in-menu-url\/","title":{"rendered":"How to Add AMP in Menu URL"},"content":{"rendered":"\n<p>You can select if the links of navigation items should link to AMP pages(example.com\/amp\/) or non-AMP pages(example.com).<\/p>\n\n\n\n<p>If you want to have all the links in AMP, then enable the \u2018Auto Add AMP in Menu URL\u2019 options you will find this option in <strong>WordPress dashboard <\/strong>-&gt; Navigate to <strong>AMP setting panel<\/strong> -&gt; <strong>Settings <\/strong>-&gt; <strong>Advanced Settings.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"397\" height=\"608\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1.png\" alt=\"\" class=\"wp-image-10899\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1.png 397w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1-196x300.png 196w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1-33x50.png 33w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1-39x60.png 39w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/amp-menu-1-65x100.png 65w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/figure><\/div>\n\n\n\n<p>Scroll down a little to see this option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"838\" height=\"224\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1.png\" alt=\"\" class=\"wp-image-15804\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1.png 838w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1-300x80.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1-768x205.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1-50x13.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1-60x16.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/01\/7-1-100x27.png 100w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/figure>\n\n\n\n<ul><li><strong>Auto Add AMP in Menu URL: <\/strong>By enabling this option, It will automatically add \/amp at the end of the menu URL. Users will redirect to the AMP pages. <\/li><\/ul>\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>You can select if the links of navigation items should link to AMP pages(example.com\/amp\/) or non-AMP pages(example.com). If you want to have all the links in AMP, then enable the \u2018Auto Add AMP in Menu URL\u2019 options you will find this option in WordPress dashboard -&gt; Navigate to AMP setting&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[84],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/10898"}],"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=10898"}],"version-history":[{"count":12,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/10898\/revisions"}],"predecessor-version":[{"id":15805,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/10898\/revisions\/15805"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=10898"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=10898"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=10898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}