Hello,
We apologize for the issue you are facing with your robots.txt file. It seems that there are a few reasons why you might not be able to see or edit your robots.txt file in Rank Math.
Possible Reasons and Solutions:
-
No Physical robots.txt File: If your site does not have a physical robots.txt file, Rank Math should create a virtual one. If it’s not being created, you may need to check with your hosting provider to ensure that the server is set up correctly to allow this.
-
Edit Option Missing: If the option to edit your robots.txt file is not displayed, it could be because you are using Rank Math in Easy Mode. To switch to Advanced Mode, navigate to WordPress Dashboard → Rank Math SEO and enable Advanced Mode. This should make the Edit robots.txt option visible.

-
Server Configuration: If your site runs on an Apache server, ensure that the necessary rewrite rules are in place. You can add the following rule to your .htaccess
file:
# START of Rank Math Robots.txt Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^robots.txt$ /index.php?robots=1 [L]
# END of Rank Math Robots.txt Rewrite Rules
-
Permissions Issue: Sometimes, permission issues on the web server can prevent editing. You may need to contact your web host for assistance with this.
-
Check for Other Plugins: Ensure that no other plugins are creating or managing the robots.txt file, as this can conflict with Rank Math’s functionality.
If you continue to experience issues, please reply to this ticket with your site URL so we can assist you further. A human agent from our support team will take over and help resolve the issue. Thank you for raising this concern!
Sources:
I Can’t Edit My Website’s Robots.txt » Rank Math
Common robots.txt Issues & How to Fix Them » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please note that some options are only available when you enable the Advanced Mode in Rank Math. If you’re not able to see the Edit Robots.txt option in Rank Math > General Settings, please switch to the Advanced Mode: https://rankmath.com/kb/switch-from-easy-to-advanced-mode/
Also, you can share your website URL so that we can check the issue as well.
Let us know how it goes. Looking forward to helping you.
Hello, I have enabled it. Thank you. Is there a community where I can ask questions and get feedback – tips for my SEO? Can you give tips and feedback?
Hello,
You can engage with our Facebook community for additional insights and support here:
Rank Math Facebook Group
However, if you have any questions regarding SEO and Rank Math, you can always contact us here via ticket so we can assist you.
Looking forward to helping 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.