.htaccess and robot file not writable

#507413
  • Resolved AI test
    Rank Math free

    In wordpress dashboard showing .htaccess file is not writable & .robots.txt file is not writable.
    But it was previously set permission to 0644.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Can you please check if the following line exists in your wp-config.php file? It needs to be set to false so Rank Math can modify your .htaccess and robots.txt files:

    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.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘.htaccess and robot file not writable’ is closed to new replies.