Free Robots.txt Generator
Build robots.txt rules with User-agent, Allow, Disallow and sitemap lines, then download the file for your website.
Build robots.txt rules with User-agent, Allow, Disallow and sitemap lines, then download the file for your website.
The robots.txt file sits at the root of your website and tells search engine crawlers which areas they should not crawl. Most small websites need only a very simple file that allows everything and points to the sitemap.
Robots.txt is not a way to hide private pages. A blocked address can still appear in search results if other pages link to it. To keep a page out of search results use a noindex tag, and protect private content with a password.
In the root folder of your website, so it opens at yourdomain.com/robots.txt.
Not by itself. It only asks crawlers not to crawl the page. Use a noindex tag to keep a page out of search results.
Yes. A rule like Disallow: / blocks your whole site from crawlers, so double check before you upload.
It is optional. Without one, crawlers can crawl everything they find.