Sitemap is redirecting to Home Page

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

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

    Rank Math creates a virtual Sitemap dynamically /sitemap_index.xml. We rely on redirects enabled by your server software to accomplish that. If the /sitemap.xml doesn’t work, you may need to add the codes in this link manually:

    https://rankmath.com/kb/fix-sitemap-issues/#apache-error

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Pratima Aditya
    Rank Math free

    Kindly guide, how and where to add these rewrite rules. Also, please let me know, whether I need to resubmit sitemap again on Google Search Console?

    Regards

    Hello,

    Please navigate to WP Dashboard > Rank Math > General Settings > Edit .htaccess and add the rule in your .htaccess file.

    And you will need to resubmit your main sitemap(sitemap_index.xml) in your Google Search Console account.

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

    Pratima Aditya
    Rank Math free

    Hi,
    Thanks for guiding. I have added rules as suggested, however problem is still existing.
    When I type https://careerbanaye.com/sitemap.xml, ideally it should go to https://careerbanaye.com/sitemap_index.xml, but it is still redirecting to homepage.

    Regards

    Hello,

    On your website, the WordPress default sitemaps were still trying to load when accessing the URL you mentioned. After installing a plugin that disables those completely we are able to see that the sitemap now loads fine via either URL.

    When submitting the sitemap to Google we always recommend that you submit the URL sitemap_index.xml to prevent any issues as the other one should not be used when Rank Math is installed.

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

    Pratima Aditya
    Rank Math free

    Hi,
    Thanks a lot for solving my problem. I have checked the site https://careerbanaye.com/sitemap.xml and found that it is now redirecting to https://careerbanaye.com/sitemap_Index.xml

    As suggested, I have removed old sitemap https://careerbanaye.com/sitemap.xml from Google Search Console (GSC) and have submitted new sitemap https://careerbanaye.com/sitemap_Index.xml into it successfully. The same has been crawled yesterday evening. Please let me know, how may days GSC will take to crawl my posts inside new sitemap for indexing.

    Regards

    Hello,

    Thank you for your patience.

    We’re glad that your sitemap’s issue is already fixed.

    Unfortunately, there’s no definite time for Google to recrawl your site. According to Googe guidelines, crawling can take anywhere from a few days to a few weeks.

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Pratima Aditya
    Rank Math free

    Thanks a lot for support and guidance.

    Regards

    Hello,

    You’re welcome, and we’re glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Sitemap is redirecting to Home Page’ is closed to new replies.