sitemap_index.xml redirecting to homepage

#172389
  • Resolved Dhruv Oza
    Rank Math pro

    Hey Team,

    My website’s sitemap is redirecting to the homepage. Can you tell me why is this happening? and also help me resolve this issue.

    Note: my website’s sitemap is sitemap_index.xml and not sitemap.xml (never created this version)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    I’ve checked your sitemap, and it’s getting a white page but with Rank Math codes. In this case, please check if you have a static file with the same name as your sitemap file (sitemap_index.xml). You should FTP into your server and remove the file.

    Once done, please follow these steps:

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

    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.
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    I hope that helps. Thank you, and looking forward to your update.

    Hey,

    I checked in the directory file of my website but found that there is no such file named a sitemap (sitemap_index.xml)

    So please tell me what do I do now?

    Because till a few days ago I can easily see the sitemap file of my website but now I can’t.

    Is there something else I should do? Please revert back with an appropriate solution.

    Awaiting your response.

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply.

    I visited your website and now it seems that your sitemaps are working fine. Please see this screenshot and confirm it on your end: https://i.rankmath.com/PtazuA

    I suggest you clear your website’s cache and also your browser’s cache.

    Please let us know how that goes.

    Thanks,

    Hey Prabhat,

    Thanks for your response.

    Yeah, I think the issue was with the cache and I flushed the cache as suggested by Reinelle.

    And then even I’m able to view the sitemap.

    Thanks once again.

    Cheers,
    Dhruv

    Hello,

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘sitemap_index.xml redirecting to homepage’ is closed to new replies.