Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
The sitemap generates on the fly in Rank Math, when you enable that module. We rely on redirects enabled by your server software to accomplish that. As the Sitemap doesn’t work in your case, you may have to add some rewrite rules to them in order to function sitemaps properly.
While checking your sitemap I found the /?sitemap=1 is not being redirected to the /sitemap_index.xml and which is why it’s throwing a 404 error.
To fix this, please try setting a redirect rule to redirect from /?sitemap=1 to /sitemap_index.xml by following the guide below, or you may also ask your hosting provider to do that.
https://rankmath.com/kb/sitemap-404-error/#nginx-apache-server
Let us know how it goes. Looking forward to helping you.
Thank you.
Thanks for your support but it till not worked but
i have tried with –
sudo nano /etc/apache2/apache2.conf
sudo service apache2 restart
Now its working thanks and check whether its working or not
https://www.indianlyrics.in/sitemap_index.xml
Hello,
Yes, the sitemap seems to be working perfectly fine now.

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.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
The non-WWW version of your sitemap is loading perfectly fine.
https://indianlyrics.in/sitemap_index.xml
The issue is with WWW version. Hence, you’ll need to redirect all other variations of your sitemap to the final version.
To do that, please follow the guide I’ve shared below:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#num-5-4-redirect-all-three-other-versions-to-your-preferred-variation
Let us know how it goes. Looking forward to helping you.
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.