Search code examples
amp-html

How to batch submit amp pages to google


How to batch submit amp pages to google? Is this possible to via sort of API?

At moment I am doing this manually one-by-one via Google's Webmaster tools.

I have over 200 pages and doing this manually is laborious.


Solution

  • You don't need to manually add AMPs. If you reference your AMPs from your canonical pages via

    <link rel="amphtml" href="https://www.example.com/url/to/amp/document.html"
    

    the Google crawler will automatically pickup your AMPs.