← Back to naviwork.tools

.htaccess Generator

Build your .htaccess file with common Apache rules

HTTPS & WWW

Force HTTPS
Redirect www to non-www
Redirect non-www to www

Redirects

Error Pages

Custom 404
Custom 403
Custom 500

Cache Control

Cache static assets (1 year)
Cache HTML (1 hour)
Enable GZIP compression

Security

CORS Headers (allow all origins)
Hotlink Protection
Security Headers (XSS, Frame, Content-Type)
Disable Directory Listing
Block access to .files

IP Blocking

Copied!