Q2H Tools

.htaccess Rewrite Tester

Test RewriteRule redirects against a URL.

Free · no sign-upPrivate — runs in your browser

Do this next

About the .htaccess Rewrite Tester

Paste your .htaccess rules and a URL to see which RewriteCond/RewriteRule lines match and where the request ends up. Supports the common flags (L, R, NC, QSA) and %{HTTP_HOST}, %{HTTPS}, %{REQUEST_URI} conditions.

This tool runs entirely in your browser. Nothing you type is uploaded.

Production-ready nginx, Apache, Caddy, .htaccess, Docker, Kubernetes, PM2 and database configs with sensible security defaults. See all 20 server config tools →