What sort of URL structure should be used to display AMP HTML vs vanilla HTML
Ad
There's an existing wordpress plugin that creates AMP formats automatically by adding /amp
onto the end of any posts URL. I'm worried about duplicating my content at multiple URLs and wondering if adding some parameter like ?v=amp
would be better? Also, if a parameter is used to render the page via AMP, how do we let Google know about these pages? Can we submit a separate AMP sitemap?
Ad
Answer
Ad
The AMP standard uses a Canonical link to define the original source and a link rel=amphtml on the canonical page to point to the amp version. Google understands both so no action is needed on your part if you amp pages pass validation.
Ad
source: stackoverflow.com
Related Questions
Ad
- → How do I call the value from another backed page form and use it on a component in OctoberCms
- → Inline JS callback syntax Vs Internal JS callback syntax
- → Prevent form action from being followed by robots
- → How to remove parameters from the root URL if it does I18n
- → SEO Canonical URL in Greek characters
- → Htaccess negation
- → Wrapping anchor elements with text
- → Adding schema.org to site
- → dynamic php title depends on page id and using of "if (isset"
- → Building sitemap for 2 wordpress install under 1 domain
- → Bigcommerce Repeating url
- → 301 Redirection from no-www to www in wordpress
- → Wrapper inside or outside HTML5 semantics main, which is best practice?
Ad