Question about RM, Ultimate SEO and Google XML sitemap

#246779
  • Resolved Alanalabama
    Rank Math free

    Hi Support,

    I am doing work on a clients website. They have the Ultimate SEO plugin installed and Google XML Sitemap plugin.

    If I replace the Ultimate SEO plugin with Rank Math and uninstall Google XML sitemap plugin will the Rank Math sitemap URL be /sitemap.xml? That is the URL used by Ultimate SEO.

    I’d like to do that as I do not have access to the client’s Search Console so no way of letting Google know if the URL changes.

    I hope you can help.

    Kind Regards,

    Alan.

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

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Rank Math’s Sitemap URL is /sitemap_index.xml. In your case, you can set up a redirect on your site from /sitemap.xml to /sitemap_index.xml by inserting this code in the .htaccess file:

    # START of Rank Math Sitemap Rewrite Rules
    RewriteEngine On
    RewriteBase /
    RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
    RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
    # END of Rank Math Sitemap Rewrite Rules

    Google will still see the sitemap generated by Rank Math as your /sitemap.xml is already redirected to /sitemap_index.xml once the code is applied.

    I hope that helps.

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

    Thank you for the reply. I don’t have access to the clients server to but I will try and get access.

    Ankit
    Rank Math business

    Hello,

    Sure, Do let us know how it goes.

    Meanwhile, if you have any other concerns or questions, do let us know.

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

The ticket ‘Question about RM, Ultimate SEO and Google XML sitemap’ is closed to new replies.