How to create a robots.txt file for your website
- Choose a starting template or write default crawl rules.
- Add specific crawler groups only when you need different preferences.
- Enter your actual XML sitemap URLs if available.
- Review the file and test important public URLs with relevant crawler tokens.
- Download the UTF-8 file as robots.txt and publish it at your site's root, such as
https://example.com/robots.txt. - Verify the published file and monitor crawling in your webmaster tools.
Back up your existing robots.txt before replacing it. The generator does not upload or modify files on your website.