robot.txt file not forming

#561721
  • Resolved Anonymous
    Rank Math free

    Hello –
    My site “https://unseenalliance.com” is a rank math pro plugin site, but it is not forming a robot.txt file. I have followed the articles and trouble shooting.

    I’m not sure what I’m missing – can you look and offer insight?

    Thanks,
    Ryan

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

    Hello,

    Thank you for contacting Rank Math for help with editing your robots.txt file.

    When I checked your website, the robots.txt file was being generated. If you are still facing issues with your robots.txt not being generated as expected, please do the following:

    Check your website FTP or file manager for a robots.txt file and delete it. Rank Math uses a virtual robot.txt which cannot be generated if you have a physical file.

    Next, please add the following rewrite rules to your .htaccess file:

    # START Apache Rewrites for Rank Math Robots.txt File
    RewriteRule ^/robots.txt$ /?robots=1 [L] 
    RewriteRule /([/]+?)-robots([0-9]+)?.txt$ /?robots=$1&robots_n=$2 [L]
    # END Apache Rewrites for Rank Math Robots.txt File

    If you don’t know how to edit your .htaccess file, check this guide: https://rankmath.com/kb/edit-htaccess/

    We hope this helps. If you have any other questions, please let us know.

    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 ‘robot.txt file not forming’ is closed to new replies.