I can’t edit robot.txt

#645547
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math support and we apologize for the inconvenience.

    Please navigate to Rank Math > General Settings > Edit robots.txt and send us a screenshot of that page. Also, please your website URL so we can help take a look.

    You can share images with us by uploading them to an image hosting site like Imgur, and then sharing the generated URL with us here.

    Thank you for your patience and cooperation

    Anonymous
    Rank Math free

    Hello,

    We can see that your robots.txt is working fine, can you please share the screenshot of the error you’re getting when you try to edit your robots.txt from this Rank Math > General Settings > Edit robots.txt?

    You can share images with us by uploading them to an image hosting site like Imgur, and then sharing the generated URL with us here.

    Thank you for your patience and cooperation. Looking forward to hearing back from you.

    Anonymous
    Rank Math free

    https://imgur.com/GUhrfRX

    this is the link of the photo

    Anonymous
    Rank Math free

    and it says ‘robots.txt file is not writeable’in Korean

    I opened wp-donfigure.php file but I couldn’t find anything was disbled

    Anonymous
    Rank Math free

    Also I’m using the astra pro so I can’t reach the dash borad

    Hello,

    robots.txt file is not writable usually shows in the settings when the file edits are disabled through the wp-config.php file.

    To enable Rank Math to edit the file, include the DISALLOW_FILE_EDIT constant in your wp-config.php file and set it to false. If this constant is already added, please make sure that it is set to false. If it is not there include it as shown below:

    define ('DISALLOW_FILE_EDIT', false);

    For more troubleshooting steps, please check our guide here:
    https://rankmath.com/kb/cant-edit-robots-txt/#not-writeable

    Hope that helps.

    Thank you.

    Anonymous
    Rank Math free

    I put both

    /**
    * Allow editing the robots.txt & htaccess data.
    *
    * @param bool Can edit the robots & htacess data.
    */

    add_filter( ‘rank_math/can_edit_file’, ‘__return_true’ );

    and

    define (‘DISALLOW_FILE_EDIT’, false);

    in the wp-config.txt but still not working

    Anonymous
    Rank Math free

    I found out that when I deactive the ‘Ithemes security’ pulgin, I could edit the robots.txt.
    But I want to know which part of the plugin bans editing the robots.txt.

    Hello,

    Thank you for your patience.

    In this case, we recommend getting in touch with the iThemes development team to assist you with this one since they are not allowing the file edit on your site.

    Meanwhile, please check if you have this option in your iThemes security settings and try if it resolves the issue

    iThemes

    Hope that helps.

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

The ticket ‘I can’t edit robot.txt’ is closed to new replies.