• Resolved peakart

    (@peakart)


    I have the following problem:

    WP-Rocket uses my Yoast Site-Maps to PreLoad the cache. I have contacted them and they said they only preload cache for links in XML sitemap.

    Yoast Sitemaps don’t include AMP versions of the pages / products so WP-Rocket can’t pre-load them when the cache is cleared.

    Is there any way that Yoast could generate XML site-maps for my AMP pages / products which I could then use in WP Rocket for Cache Pre-Loading?

    https://peakart.co.uk/sitemap_index.xml

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    Sitemaps contain the canonical link for a post or page. AMP links are an alternative link and are listed in the source code for the post/page.

    On a non-AMP post/page:
    Canonical: <link rel="canonical" href="https://example.com/postname/" />
    AMP: link rel="amphtml" href="https://example.com/postname/amp/" />

    On an AMP post/page:
    Canonical: <link rel="canonical" href="https://example.com/postname/" />

    As the canonical is the same on both the non-AMP and AMP post/page, only the canonical link should appear in the sitemap. Google will crawl the post/page and associate the AMP version to the canonical version.

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP Pages Site Map – Yoast’ is closed to new replies.