The robots.txt file is not writable.

#590641
  • Resolved Anonymous
    Rank Math free

    Good evening,

    how can i edit my robots.txt?

    I get this writing the robots.txt file is not writable.

    Thanks in advance

    Jacopo

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    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.

    Anonymous
    Rank Math free

    Good morning,

    Unfortunately I can’t find the section to edit wp-config.php

    do you know where i can find it?

    Thank you
    Jacopo

    Anonymous
    Rank Math free

    I found what I was looking for, thanks for the support!

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘The robots.txt file is not writable.’ is closed to new replies.