WordPress AMP Integration

限于喜欢 提交于 2019-12-24 07:45:27

问题


I just installed the AMP from Automatic in my WordPress site. When I load the page I have to type /amp after the link in order to display the amp page/post. Questions are: how can I display the page automatically without having to type the /amp ? how can I show the other posts that I have on the site?

Hope you can give me a starting point since I am a bit lost. Here my site : http://www.demosite.burnnotice.co.za/

Hope you can help.


回答1:


You will have to type /amp and the end in order to view the amp version in desktop. Once you have properly implement AMP to your website and Google crawls the website, the amp pages will be shown to the visitors on Google Search.

You will only be able to see amp pages if its properly set up.AMP is only for mobile platforms. Make sure you have implemented AMP properly: https://www.techtipshacks.com/setup-amp-wordpress.html

Also i would recommend adding a Menu, Related posts etc to AMP pages as the plugin by automattic is having limited functionalities: https://www.techtipshacks.com/add-menu-related-posts-social-icons-for-amp.html




回答2:


Install "AMP Validator" extension to chrome




回答3:


Which plugin are you using? This article might help: https://yoast.com/setting-up-wordpress-for-amp-accelerated-mobile-pages/

Also, make sure you activated the plugin :) - It's easy to forget this step.



来源:https://stackoverflow.com/questions/40258749/wordpress-amp-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!