Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
The robots.txt that we detect is located on your website’s root directory and not within Rank Math’s files. The root directory is where you’ll find the folders wp-admin, wp-content, etc.
If you have a static robots.txt file in your website’s root directory, Rank Math would not be able to generate it since we create it virtually. Here’s a link for more information:
https://rankmath.com/kb/cant-edit-robots-txt/
For the error robots.txt file is not writable, please check your wp-config.php file for this line and set it to false:
define ('DISALLOW_FILE_EDIT', true);
If it’s not there, please add this line in that file:
define ('DISALLOW_FILE_EDIT', false);
I hope that helps.
Thank you.
Thanks, Mate,
Really appreciated now robots.txt is writable and the error is gone also .htaccess error is gone.
Can I now click on validate issue in the google search console because my error is solved and yeah please see the attachment?
my .htaccess error is gone and i have seen the confirmation about .htaccess file is updated.
My question is do i have to do anything else or its done and my .htaccess is updated?
https://ibb.co/6NzgsNM
Hello,
Yes, please try validating the error on your Google Search Console account and give Google some time to validate it.
If the issue still persists, could you please share your website URL to check and verify? You can add it in the sensitive data section

It is completely secure, and only our support staff has access to that section.
For your .htaccess file, since you have mentioned that it is already fixed, there’s no need to update it.
Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I checked the robots.txt, it is correct and loading fine.
You can try validating the error on your Google Search Console.
I hope this helps.
Thank you.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do 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.