by amgin3 · 8y ago · 0 comments
What's wrong with using CSS media queries to have a responsive design? Or if you absolutely need a separate mobile site for some reason, at least give a link back to the full desktop version of the page..
I get that AMP is supposed to help optimize page loading for mobile devices, but for most sites I don't think it is necessary to go to the extremes of AMP in 2018. Most places in the world have decent enough internet speeds and mobile data allowances that pages do not need to be super tiny all the time.
<link rel="canonical" href="...">
pointing to the regular HTML document.You might want to use this web extension to make automatic AMP → HTML redirects:
https://github.com/da2x/amp2html
Or you could use this bookmarklet:
javascript:window.location=document.head.querySelector('link[rel="canonical"]').href