sitemap.xml redirects to homepage

#172159
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

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

    Rank Math creates a virtual Sitemap dynamically that you can access by going to yourdomain.com/sitemap_index.xml. Your sitemap no longer exists on the link you have shared and that’s why you are being redirected to the homepage.

    I checked and your sitemap is working fine. Please check on your end and confirm.

    Hope this helps. Let us know if you need any further assistance.

    hey Jaideep,
    Thanks for your reply, but earlier, sitemap.xml was being redirected to sitemap_index.xml, now that’s not happening.

    Do I need to do a manual rewrite in nginx for this?

    Thanks in Advance

    Hello,

    Thank you for the update, and sorry for the delay.

    Rank Math creates a virtual Sitemap dynamically 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 need to add the codes in this link manually:
    https://rankmath.com/kb/fix-sitemap-issues/#nginx-server-error

    This should also redirect your sitemap.xml to sitemap_index.xml

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

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘sitemap.xml redirects to homepage’ is closed to new replies.