The robots.txt file is not writable pt.2

#592138
  • Resolved Anonymous
    Rank Math free

    Good evening,

    I always contact you for the robots txt.
    I followed your advice and everything seemed ok, only now the robots txt is once again unwritable.
    If you want i send you the code of wp config.

    Lastly, I would not block any pages with the txt robot

    Can you help me?
    Thanks in advance!

    Jacopo

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

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

    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/

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    The DISALLOW_FILE_EDIT was set to true on your wp-config.php file. We’ve set it to false and now you should able to edit the robots.txt file from Rank Math > General Settings.

    If the issue still persists, then we also need to check your WordPress dashboard to troubleshoot the issue further. You can use this email address to create temporary login access: s******@r***********

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

    Thank you.

    Anonymous
    Rank Math free

    Good evening,

    thank you very much for the immediate support you do.
    Unfortunately, the txt robot still turns out to be unwritable.

    I have created a Temporary Login for you with the email s******@r***********

    I remain available
    Jacopo

    Hello,

    It looks like you forgot to add the WordPress admin account access to the sensitive data section.

    Can you please check and update the sensitive data section with the credentials?

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    It looks like the changes we made yesterday on your FTP were not saved for some reason. However, we’ve set the DISALLOW_FILE_EDIT to false again and now you can edit your robots.txt file directly from the Rank Math > General Settings > Edit robots.txt:

    Please check from your end and let us know if you need any other assistance.

    Thank you.

    Anonymous
    Rank Math free

    Hello,
    Thank you very much for the support but unfortunately it still turns out to be blocked 🙁
    I am very sorry because you are putting a lot of effort into solving the problem, and for that I am grateful

    Jacopo

    Hello,

    It seems like the changes we are making to the wp-config.php file are getting reverted. Please check with your host about this and ask them to set the DISALLOW_FILE_EDIT to false to resolve the issue. Even if we make the changes again, they will be reverted again, so it is better to ask your host to resolve the issue permanently.

    Let us know how that goes. Looking forward to helping you.

    Anonymous
    Rank Math free

    Good Evening,
    Thank you for the feedback. I will contact Siteground support to resolve the issue

    see you soon
    Jacopo

    Anonymous
    Rank Math free

    Good evening

    I contacted siteground support and they had me enter a line of code in the wp-config, specifically in line 110 what follows.

    define(
    ‘DISALLOW_FILE_EDIT’, true );

    Siteground signals me to notify you of this change as well

    I hope it will come in handy. For now, the robots txt, despite clearing the cache, appears to be unwritable.

    I remain at your disposal

    Jacopo

    Hello,

    Instead of define('DISALLOW_FILE_EDIT', true );

    You’ll need to turn it to false: define('DISALLOW_FILE_EDIT', false ); I’ve made the changes for you at line 110 of the wp-config.php file.

    However, the core issue was the settings from the iThemes security plugin you’re using. Which writes additional define('DISALLOW_FILE_EDIT', true ); at the top of your wp-config.php file.

    I’ve unchecked the option Disable File Editor from the below settings and your robots.txt file is now writable:

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

    Thank you.

    Anonymous
    Rank Math free

    Thank you very much, you have been of great help. I put 5 stars: all deserved!

    Hello,

    You’re most welcome, and we are super happy that this resolved your issue.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

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