robots.txt Generator
๐ค Control search engine crawlers by creating a robots.txt file that tells bots which pages to crawl and which to avoid.
Configuration
Select Search Engines
Crawl Settings
Time between requests. 0 = no delay
Optional: Help search engines find your sitemap
Access Control
One path per line. Leave empty to allow all
Override disallow rules for specific paths
Quick Templates:
Preview
# robots.txt
Your robots.txt will appear here...
๐ robots.txt Best Practices
Do's:
- โ Place robots.txt in root directory
- โ Use lowercase filename
- โ Test before deployment
- โ Include sitemap reference
Don'ts:
- โ Don't block CSS/JS files
- โ Don't use for security
- โ Don't list sensitive URLs
- โ Don't forget wildcards
Common Paths:
- โข /wp-admin/ (WordPress)
- โข /cart/ (E-commerce)
- โข /search/ (Search results)
- โข /*.pdf$ (PDF files)