AMP Sitemap


Plugin to have AMP articles indexed faster and more regularly, generates a list of links (via shortcode) of AMP articles.

Read all about implementing AMP into your website: WordPress AMP (Accelerated Mobile Pages) tutorial, here you will also find a possibility to generate an AMP sitemap by use of the Genesis Display Posts Shortcode plugin.

An HTML sitemap is a list of names and links of your pages and posts in the front end of your website. It can be useful for users to get a good overview of the content you’re presenting. For bots it is equally useful since the internal links send them to the farest corners of your website, which could help indexation greatly.

Strictly taken AMP does not need a sitemap (HTML or XML) if the content is marked up correctly: engines know where AMP content is by this piece of code present in your regular pages:

Accelerated Mobile Pages

That being said there could be several reasons to use an AMP HTML Sitemap:

  1. You want your AMP content to be indexed faster and more regulary. In case you don’t have much traffic, external links or good internal linking structure indexation could take a while. An HTML sitemap will improve your internal links and if you add the URL of the sitemap to your current XML sitemap plugin, search engines will gain information on the AMP content by automatic submission of your XML sitemap. (see ‘Addditonal tips’ at the bottom of this page)
  2. You have ‘stand alone’ AMP content. Seen as there are no links pointing to content that is only reachable by AMP (because they miss the link from the regular page and naturally don’t occur in menus) it can take a long time for them to be indexed.
  3. You have an HTML sitemap for regular content and simply wish to add your AMP content to it

And in that case, this plugin is for you.

Installation AMP Sitemap:

  1. Upload en activate the plugin
  2. Place the below shortcode in a page or post (click the image to download the shortcode):
    amp sitemap 1

Customizing the output of the AMP Sitemap plugin:

  1. append=’amp’ change the slug to point to your AMP verion. Depending on which AMP plugin you are using you can adjust the slug to direct to the AMP articles, standard: ‘amp’ (appropriate for the AMP plugin by Automatic).

Example: append=’amp-post’ will generate a slug ‘yourwebsite.nl/post/amp-post/’

  1. heading=’AMP’ will add an H2 heading, standard: none
  2. max=’5′ will set a limit to the amount of posts displayed:, standard: 5000
  3. cpt1=’page’ NEW IN VERSION 2.0: support for 3 custom post types. Use the attributes ctp1=”, cpt2=” and cpt3=” to add new post types such as page, product or any other. Standard: only posts
  4. The shortcode can now look like this:

The shortcode can now look like this (click the image to download the shortcode):

amp sitemap 2

…what will result in in:

Additional tips:

Good luck and we love to hear your results!

Matt Cutts on HTML and XML sitemaps


A WordPress wielding, cool rocking daddy in the lowlands. Web development & SEO, development and management of multisites.
Carpentry, Yoga & meditation.