Hello,
We apologize for the issue you are facing with the Rank Math plugin. It seems like you are experiencing problems with the sitemap resetting and the inability to update the robots.txt file while the plugin is active.
Sitemap Resetting Issue
If your sitemap is resetting, please ensure that there are no static files with the same name as your sitemap file (e.g., sitemap_index.xml). You can check this by accessing your server via FTP and removing any such files. Additionally, you might need to add a custom code snippet to your theme’s rank-math.php file:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
This will help in preventing caching issues that might be causing the sitemap to reset.
Robots.txt File Not Updating
Regarding the robots.txt file, if you are unable to edit it while Rank Math is active, it could be due to a few reasons:
- Presence of a Physical File: If there is a physical
robots.txt file in your website’s root folder, it may prevent Rank Math from editing it. You can remove this file via FTP or cPanel File Manager.
- Other Plugins: Another plugin might be creating the
robots.txt file, which would also prevent Rank Math from making changes. Try disabling other plugins to see if that resolves the issue.
- Permission Issues: There could be permission issues on your web server that need to be addressed by your hosting provider.
For more detailed guidance, you can refer to our articles on fixing sitemap issues and editing robots.txt.
If these suggestions do not resolve your issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for bringing this concern to our attention!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
I Can’t Edit My Website’s Robots.txt » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Could you please share a screencast of the issue by using a tool like https://loom.com so that we can check this further for you? A visual representation of the issue will help us to understand it better.
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.