Contents are locked because a robots.txt file is present in the root folder.

#381743
  • Resolved Shuvra Kumar Das
    Rank Math free

    Hi, i am unable to edit my robot.txt file and my file has been changed.

    The current file is:

    User-agent: *
    Crawl-Delay: 20

    Because of this my articles are not getting indexed on google.

    See this image for better understanding

    Please help me.

Viewing 1 replies (of 1 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience caused.

    If you’re unable to modify your robots.txt using Rank Math, please check this link for more common reasons:
    https://rankmath.com/kb/cant-edit-robots-txt/#common-reasons-your-sites-robots-txt-cant-be-edited

    If the issue still persists, 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:

    define (‘DISALLOW_FILE_EDIT’, true);

    I hope that helps.

    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 ‘Contents are locked because a robots.txt file is present in the root folder.’ is closed to new replies.