Home/Free tools/.htaccess & robots.txt generator
Free tool · 🧾 .htaccess & robots.txt generator

Redirects, headers, robots —without breaking the site.

The .htaccess and robots.txt our speed tool wants to see, generated from six checkboxes. Works on Hostinger, cPanel and any Apache/LiteSpeed host.

Upload .htaccess to the site root; keep a copy of the old one. Test with the speed & SEO check.

What it checks

Everything we would look at first on a client call.

Free, no sign-up, no email gate. If the report shows red, the fix is written next to it — and we are one click away if you would rather we did it.

  • HTTPS and www canonical redirects
  • Caching, gzip and security headers
  • Sensitive-file protection and custom 404
  • robots.txt with sitemap and optional AI-bot blocks
FAQ

Common questions

Will blocking AI bots hurt SEO?
No — Googlebot/Bingbot are unaffected. Google-Extended only controls AI training use.
My host is NGINX.
Use the NGINX config generator instead; .htaccess is ignored there.