.htaccess / robots.txt Generator
Generate robots.txt and Apache .htaccess rules for SEO and security.
Share this tool
About this tool
Generate robots.txt and Apache .htaccess snippets for HTTPS redirects, www rules, gzip, caching, and security headers. Copy or download ready-to-use config files.
- robots.txt with sitemap URL
- HTTPS, www, gzip, and cache rules
- Optional security headers
Prefer a walkthrough? Read the .htaccess / robots.txt Generator guide.
Guides
Learn the workflow, then jump back into the free tools
Guide for this tool
robots.txt and .htaccess Basics
Generate a robots file with a sitemap URL, and Apache rules for HTTPS, cache, and security headers.
4 min read
How to Build a Sitemap from a URL List
Paste your pages, set lastmod and priority, and download sitemap.xml for search engines.
4 min read
How to Build UTM Campaign Links
Add source, medium, and campaign tags so analytics can tell which link brought the visit.
4 min read
Meta Tags for Search and Social Shares
Write a title, description, canonical URL, and Open Graph tags before you publish a page.
Related tools
More utilities in the same category