.htaccess generator
Tick the behaviors you want and copy the file. The generator does not SSH into your host or test the rules live.
Apache-only. Nginx and most JAMstack hosts ignore .htaccess. Prefer host-level redirects when you can.
How to Use
- Select HTTPS, www/apex, and any path redirects you need.
- Copy the file and keep a backup of the current .htaccess.
- Deploy to a staging vhost first. Watch for redirect loops.
- Confirm with the HTTP header checker (expect 301 once, then 200).
Key Features
- Common redirect and cache snippets
- Local generation
- No write access to your server
- Pairs with HTTP header checks
Frequently Asked Questions
Will this work on Netlify or Vercel?
Not as .htaccess. Use their _redirects / vercel.json (FlashKit already does for its own shells).
Can a rule take the site down?
Yes. Keep SSH/FTP access and a backup.