robots.txt not work 404 Not Found nginx

#663242
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Please note that Rank Math does not generate or create a physical robots.txt file in your website files as it is created virtually.

    In this case, please check your Nginx config file and ensure there are no directives blocking robots.txt on your site or serving .txt files if they are missing on your site.

    For Rank Math to create a virtual/dynamic robots.txt, there shouldn’t be any existing robots.txt file in your website files (root directory).

    Alternatively, you may create a static robots.txt file on your root directory and include our recommended rules here:
    https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/.#default-rules

    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 ‘robots.txt not work 404 Not Found nginx’ is closed to new replies.