Robot.txt File is returning a 404 error

#477280
  • Resolved DnM Marketing
    Rank Math free

    Good morning,

    For some reason, our Robot.txt file is returning a 404 error.

    There is also no XML sitemap.

    Would you know how to fix this?

    Kind regards

Viewing 1 replies (of 1 total)
  • Hello,

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

    Rank Math should create a default robots.txt on the fly on your site if there’s no existing static robots.txt file in your website’s root directory.

    Could you please check if your site’s directory is under the root? Or you are using a subfolder for that site?

    Regarding sitemap issue, please try checking if you’ve configured sitemap correctly:
    https://rankmath.com/kb/configure-sitemaps/

    If your sitemap also returning 404, you may try checking the URL below to see if that fixes the issue for you:
    https://rankmath.com/kb/sitemap-404-error/

    Please share your site URL with us so that we can investigate the issue further for you.

    Looking forward to helping you.

    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 is returning a 404 error’ is closed to new replies.