.htaccess Rewrite Tester Tool

.htaccess Rewrite Tester

Test your Apache mod_rewrite rules safely in your browser. Debug RewriteRule and RewriteCond directives step-by-step without breaking your live server.

Configuration

The full URL a user is requesting.

Simulator Notes

This is a client-side JavaScript simulation of Apache's mod_rewrite. It supports standard RewriteRule, RewriteCond, backreferences ($1, %1), common server variables (%{HTTP_HOST}, %{REQUEST_URI}), and flags like [R, L, NC]. Advanced Apache-specific features (like file existence checks -f) are simulated as "not found" by default.

Final Output URL

Ready to test...

Execution Trace Log

Enter a URL and your rules, then click "Simulate Request".

Scroll to Top