I can’t modify the robots.txt

#460823
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

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

    This is a permission issue on your web server and to get around this issue we would recommend the following: https://rankmath.com/kb/cant-edit-robots-txt/#num-3-permission-issue-on-the-web-server

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Sobreak
    Rank Math free

    so I need to modify the php file by putting “ALLOW” in upper case?
    Thanks

    Hello,

    so I need to modify the php file by putting “ALLOW” in upper case?

    The boolean value can be changed either as true or false. If it’s true that means you shouldn’t be able to edit the files, and if it’s set to false like the code below, then you should be able to get permission to edit files.

    For now, please try adding the exact following code in your wp-config.php file.

    define ('DISALLOW_FILE_EDIT', false);
    

    Note: If this constant is already added, ensure that it is set to false as shown above.

    Let us know how it goes. Looking forward to help you.

    Thank you.

    Sobreak
    Rank Math free

    hi I have 2 wp-config files
    I have the wp-config.php and the wp-config.php.php
    I don’t know why because by modifying the wp-config.php it doesn’t work
    Thanks

    Hello,

    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.

    Sensitive Data Section

    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.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘I can’t modify the robots.txt’ is closed to new replies.