Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
Rank Math generates robots.txt file on the fly. Thus, there will be no physical robots.txt file you will find on your server’s root directory. And if there’s a physical robots.txt file present in your server’s root directory, then the robots.txt file generated by Rank Math won’t work. Hence, delete any physical robots.txt file present on your server’s root directory to use Rank Math’s robots.txt file.
For the issue you’re encountering while editing the robots.txt
form Rank Math settings is due to a permission issue on your web server.
Please check if this line exists in your wp-config.php
file, as it needs to be set to false
so Rank Math can modify your robots.txt
file:
define (‘DISALLOW_FILE_EDIT’, true);
Here is a guide for your reference:
https://rankmath.com/kb/cant-edit-robots-txt/#robots-txt-file-is-not-writeable
Let us know how that goes. Looking forward to helping you.
Thank you.
파일질라 > wp-config.php 파일에 efine (‘DISALLOW_FILE_EDIT’, true); 명령어가 없는 경우도 있나요?
Hello,
You need to ensure that directive is set to “false” like so:
define ('DISALLOW_FILE_EDIT', false);
If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look 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.