Pick a Rule Type
Choose from redirects, rewrites, security headers, caching, compression, and more.
Stop Googling Apache directives. Pick what you need, configure it visually, download your file. Or paste existing code to edit it.
No rules yet. Click a rule type above to start building.
Your .htaccess code will appear here...
Paste your existing .htaccess code below and we'll parse it into editable rules you can modify in the Builder tab.
Choose from redirects, rewrites, security headers, caching, compression, and more.
Fill in the fields — no need to remember Apache syntax or directive names.
Add multiple rules. Reorder, edit, or remove them anytime. See live output.
Get your .htaccess file with one click. Upload it to your server root and you're done.
301 — Permanent redirect302 — Temporary redirectRedirect — Simple URL redirectRedirectMatch — Regex redirectRewriteRule — Advanced rewrite[R=301] — Redirect with code[L] — Last rule, stop processing[NC] — Case-insensitive[QSA] — Append query string[F] — Forbidden (403)X-Frame-Options — Prevent clickjackingX-Content-Type-Options — Prevent MIME sniffingX-XSS-Protection — XSS filterContent-Security-Policy — CSP rulesStrict-Transport-Security — Force HTTPS