Following sitemap do not have a valid structure

#437190
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    I checked your sitemap page in my browser and it seems to be loading just fine. I submitted it in a sitemap validator and no issues were found there as well:

    sitemap

    Please follow the steps below for initial troubleshooting:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    After doing so, try checking the sitemap on your end again.

    Looking forward to helping you on this one.

    Hi Jeremy,

    Thanks for the response, and sorry for the delay in reply. I have tried it and it still does not work.

    Anas
    Rank Math business

    Hello,

    I checked the page source of the sitemap, and the opening tag sitemapindex is added correctly in the sitemap.
    sitemapindex

    Can you please let us know the name of the browser extension that you are using to check this?

    Also, https://yourpetanswer.com/ is not a sitemap page, so it won’t have sitemapindex in the HTML.

    You can add this filter to your website and see if that helps:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    We look forward to helping you.

    It is called SEO Analysis & Website Review By Woorank (https://chrome.google.com/webstore/detail/seo-analysis-website-revi/hlngmmdolgbdnnimbmblfhhndibdipaf?hl=en)

    I have added the hook to the function.php

    Anas
    Rank Math business

    Hello,

    I refreshed the results with the extension and the results are now updated:
    updated

    The sitemap is indeed returning a 404 error and is not accessible.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Your sitemap is working fine now. The extension you are using is checking for an HTML sitemap. If you check the analysis, the issue is for the https://yourpetanswer.com/sitemap_index.html.

    Our plugin creates an XML sitemap and it is accessible on https://yourpetanswer.com/sitemap_index.xml

    You can simply ignore the error in the extension’s analysis. Please submit the sitemap to your GSC account and if you face any issues there, let us know.

    Looking forward to helping you.

    Thank you. For confirming that

    Anas
    Rank Math business

    Hello,

    If you have any questions in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘Following sitemap do not have a valid structure’ is closed to new replies.