Your .htaccess file, built visually

Stop Googling Apache directives. Pick what you need, configure it visually, download your file. Or paste existing code to edit it.

.htaccess files generated

Add a Rule

Active Rules 0

No rules yet. Click a rule type above to start building.

Generated .htaccess

Your .htaccess code will appear here...

How It Works

Pick a Rule Type

Choose from redirects, rewrites, security headers, caching, compression, and more.

Configure Visually

Fill in the fields — no need to remember Apache syntax or directive names.

Build & Stack

Add multiple rules. Reorder, edit, or remove them anytime. See live output.

Download or Copy

Get your .htaccess file with one click. Upload it to your server root and you're done.

Quick Reference

Redirects

  • 301 — Permanent redirect
  • 302 — Temporary redirect
  • Redirect — Simple URL redirect
  • RedirectMatch — Regex redirect
  • RewriteRule — Advanced rewrite

Rewrite Flags

  • [R=301] — Redirect with code
  • [L] — Last rule, stop processing
  • [NC] — Case-insensitive
  • [QSA] — Append query string
  • [F] — Forbidden (403)

Security

  • X-Frame-Options — Prevent clickjacking
  • X-Content-Type-Options — Prevent MIME sniffing
  • X-XSS-Protection — XSS filter
  • Content-Security-Policy — CSP rules
  • Strict-Transport-Security — Force HTTPS