• Resolved anshverma14

    (@anshverma14)


    my site map is blank, i have added the required nginx rules as mentioned in your documentation.

    this error is showing in the log

    2022/12/18 22:34:08 [error] 5790#5790: *2001 openat() “/home/runcloud/webapps/sarafabazar/main-sitemap.xsl” failed (2: No such file or directory), client: 162.158.162.18, server: sarafabazar.online, request: “GET /main-sitemap.xsl HTTP/2.0”, host: “sarafabazar.online”, referrer: “https://sarafabazar.online/sitemap_index.xml”

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @anshverma14,

    Thank you for contacting support.

    If you visit the /sitemap-index.xml URI on your site (or any of the sitemaps under it, such as /post-sitemap1.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 returns a 404. We can only access that with the direct URI that looks like this: /?xsl=main.

    So the issues are basically that /sitemap.xml should redirect to /sitemap-index.xml and /?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 probably related to your server configuration. Please get in touch with your hosting provider about these.

    We’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, even without the XSL.

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

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

    Thread Starter anshverma14

    (@anshverma14)

    Thankyou for the response. I was only worried about google search and seo. Thanks for clearing this doubt.

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @anshverma14

    Glad that helped.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://www.ads-software.com/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sitemap is blank’ is closed to new replies.