how to change sitemap url ( index.php/sitemap_index.xml) to (/sitemap_index.xml)

  • please tell me how to change url of sitemap . this URL of sitemap is not looking good . i want to change this URL

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

    Thank you for contacting Rank Math.

    I am sorry but we don’t have an option to change the sitemap file URL. As much as we would like to introduce a filter in the plugin to change the URL, it is not possible anymore ever since WordPress brought the Sitemaps in the core.

    Hope that helps you.


    Adding to my colleague’s reply, by default, we do not add the /index.php/ in the sitemap URL.

    This is something that might have been configured from your permalink settings (under your WordPress Dashboard > Settings > Permalinks).

    Under your permalink settings, if you find a similar permalink structure, you can change it to change the sitemap URL structure. However, if your website is live and ranking, then it is not recommended to change the permalink structures.

    You can simply submit the sitemap URL (with /index.php/) to your Google Search Console account and Google would be able to easily detect and crawl the sitemaps.

    Hope this helps.

    Thank you.

    if i use this sitemapurl is there any issue in google indexing ?

    solve this issue thank you very much


    There would be no issues if you’ll use and submit that URL to your Google Search Console account.

    We are super happy that we could address your concern. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on 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 ‘how to change sitemap url ( index.php/sitemap_index.xml) to (/sitemap_index.xml)’ is closed to new replies.