sitemap not loading

#490387
Viewing 1 replies (of 1 total)
  • Md. Sakib Khandaker
    Rank Math agency

    Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    I’ve checked your sitemap and it seems like there’s a bit issue with redirection. Let me explain that for you.

    Rank Math generates Sitemap on the fly when you enable that module. We rely on redirects enabled by your server software to accomplish that. If the Sitemap doesn’t work, you may have to add some rewrite rules to them in order to function sitemaps properly.

    If you visit the /?sitemap=1 or sitemap_index.xml URI on your site (or any of the sitemaps under it, such as /page-sitemap.xml), and view the source code, you can see that the XML sitemap itself is working, but the linked XSL file is not – /main-sitemap.xsl is redirecting to homepage. We can only access that with the direct URI that looks like this: /?xsl=main.

    In short, the issue is basically that /?xsl=main should be rewritten to /main-sitemap.xsl (the rewrite pattern looks like this: '/([a-z]+)?-?sitemap\.xsl$/' => '?xsl=$1').

    These issues are most likely related to your server configuration. So, I suggest you to get in touch with your hosting provider regarding this issue.

    Besides, I’d like to add that the only purpose of the XSL file is to make the sitemap “human-readable” so in terms of SEO it doesn’t make a difference. Google will still see the sitemap correctly on /sitemap_index.xml, even without the XSL. So, if you send in the correct sitemap_index.xml to Google in Search Console, then the XSL isn’t important either.

    In other words, these issues will not hurt your SEO.

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘sitemap not loading’ is closed to new replies.