.htaccess Generator
Build your .htaccess file with redirects, caching, compression, security headers, and more.
Force HTTPS
Redirect all HTTP traffic to HTTPS.
WWW Redirect
Custom Redirects
CORS Headers
Browser Caching
Gzip Compression
Security Headers
Custom Error Pages
Disable Directory Listing
Generated .htaccess
# Enable sections on the left to generate rules