🔒 All processing happens in your browser. No data is sent to any server.
FREE
.htaccess Generator
← All Tools
Redirects
+ Add Redirect
Force HTTPS
www preference
No www preference
Force www (add www.)
Remove www
Basic Auth
Auth realm name
Path to .htpasswd
Generate .htpasswd with:
htpasswd -c .htpasswd username
CORS Headers
Allow-Origin
Allow-Methods
Allow-Headers
Custom Error Pages
404 Not Found
403 Forbidden
500 Server Error
Directory Options
Directory listing
Disable (Options -Indexes)
Enable (Options +Indexes)
Follow symlinks
No
Yes (Options +FollowSymLinks)
Generated .htaccess
Generate
Copy
Download .htaccess