• Resolved idabonnin

    (@idabonnin)


    Hi,

    I just realized that my sitemap is missing several pages, and I don’t understand why, can you help me?
    (I have indicated an example of a page which is not listed in the sitemap, but there are several others)
    Thank you in advance for your help,

    IdaB

    • This topic was modified 2 years, 9 months ago by idabonnin.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support devnihil

    (@devnihil)

    @idabonnin We’re sorry to hear you are experiencing this issue on your site.

    Whereas the XML Sitemap should dynamically update after any modification to it, if the site or server is caching the sitemap this can cause it to not update right away. We also have additional information on this at the following link: https://yoast.com/help/sitemap-does-not-update/.

    If you are not seeing the sitemap as updated, we would recommend checking your caching settings and to ensure that the sitemap is being excluded from the cache.

    If the sitemap is being cached by a plugin we have directions on how to add an exclusion for the sitemap files to your cache plugin at the following link: https://yoast.com/help/exclude-sitemaps-from-cache/

    If you are still experiencing an issue with the sitemap not updating after checking your site’s caching settings, you can also force a cache reset by temporarily disabling the sitemap feature, and then re-enabling it. To do so please perform the following steps:

    In order to disable and then re-enable sitemaps in the Yoast SEO plugin, you would need to perform the following actions:

    ? In WordPress go to SEO>General>Features
    ? Toggle the ‘XML Sitemaps’ option to ‘Off’
    ? Click ‘Save Changes’
    ? Toggle the ‘XML Sitemaps’ option to ‘On’
    ? Click ‘Save Changes’

    We also have a guide on how to enable and disable XML Sitemaps here: https://yoast.com/help/xml-sitemaps-in-the-wordpress-seo-plugin/

    Can you please try the aforementioned suggestions and letting us know whether it resolves your issue and you are able to successfully update the sitemap?

    Thread Starter idabonnin

    (@idabonnin)

    Thank you @devnihil for your help.
    I followed all your suggestions but it didn’t solve my problem.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @idabonnin

    We understand that didn’t work as expected regarding the caching and updating the sitemap.

    Is https://mairiedesaintlaurentdelasalle.fr/artisans-et-commercants/ a standard WordPress post or page or is it some sort of custom post type?

    Are you also expecting it to be listed in the post sitemap or the page sitemap?

    Thread Starter idabonnin

    (@idabonnin)

    Hi Michael,
    This page is a standard page, like all the others that are not displayed in the page sitemap (a total of a dozen are missing..).
    They should all be listed in the page sitemap.
    Thanks for your help

    Plugin Support Suwash

    (@suascat_wp)

    @idabonnin

    One of the possible reasons I could see after reviewing the HTML source of the given page — https://mairiedesaintlaurentdelasalle.fr/artisans-et-commercants/
    is that its canonical URL doesn’t have the trailing slash / on the permalink whereas its page permalink has a trailing slash at the end of the URL.

    All the page URLs on your website (as of the sitemaps) has trailing slash which is according to your permalink settings.

    Could you please edit that particular page and check if a custom canonical link has been entered in the Advanced settings within the Yoast SEO Metaboox?

    If so, remove that URL and refresh the page sitemap. Do you see the page being listed now?

    Thread Starter idabonnin

    (@idabonnin)

    Hi @suascat_wp

    It works ! I added the slash at the end of my url in the canonical link and the missing urls appeared in the sitemap,

    Thanks very much ??

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @idabonnin

    We’re glad to hear you were able to resolve the issue!

    Aside from adding the trailing slash, you can also just remove any custom value in the canonical URL field in the advanced tab of the Yoast SEO meta box and save the changes. It should then try to automatically self-canonicalize to itself, and still appear in the sitemap.

    We’ll be setting this to resolved in order to keep the forum overview.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Page missing in sitemap’ is closed to new replies.