Where does robots.txt go?
The file belongs at the root of the relevant host, such as https://example.com/robots.txt.
Create a robots.txt file online with crawl rules and an XML sitemap reference using this free robots.txt generator for websites and WordPress.
Create a basic robots.txt file that communicates crawler access rules for your website. Select common paths to disallow, include your sitemap URL, then copy or download the file.
Enter your website URL. The sitemap URL will be generated automatically.
Leave empty to use /sitemap.xml.
The file belongs at the root of the relevant host, such as https://example.com/robots.txt.
Robots.txt controls crawling, not guaranteed indexing. Use appropriate noindex controls when a crawlable page should not appear in search.
Usually not. Search engines may need page resources to render and understand content correctly.