Images are not visible on AMP pages

时光总嘲笑我的痴心妄想 提交于 2019-12-25 19:57:33

问题


I have implemented AMP on my home page, but some images are not visible.

You can check on our website : https://www.hopohomes.com/


回答1:


I think u misunderstood about AMP concept.AMP-HTML tags are not the HTML tags replacement. You cant just convert your site into an AMP just by replacing few tags. your site must follow amp html specification(https://www.ampproject.org/docs/reference/spec).

To test that, you can install amp validator chrome extension or by ending your site url by /#development=1 and look into your console.

Here is how it works, google crawler will search for amp in mobile search, if it is found and validates without error then your amp page may show up via link(not your main Web page) in rich search result and top stories in mobile.It will be very fast compared to normal pages but restrictive while developing. https://developers.google.com/search/docs/guides/enhance-amp

If you are not willing to keep separate pages for AMP and non AMP(which is recommended to keep),then you need to compromise on your functionalities and also, As of now you are having more than 100 errors which needs to be fixed in order for google to recognize.



来源:https://stackoverflow.com/questions/45820307/images-are-not-visible-on-amp-pages

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