EN-US
Status: All systems normal
TOOL
KIT
All Tools
Password
JWT
JSON
Regex
Hash
⌘K
Browse tools
Home
/
Tools
/
.htaccess
WEB · APACHE
.htaccess / Redirect Tester
Test Apache RewriteRule patterns against URLs. Supports [L] (last) flag.
Rules
RewriteRule ^old/(.*)$ /new/$1 [R=301,L] RewriteRule ^blog/([0-9]+)$ /posts/$1 [L]
Test URLs (one per line)
old/page blog/42 about
Trace
old/page → /new/page ✓ ^old/(.*)$ → /new/$1 (old/page → /new/page) [R=301,L] [L] flag — stop processing blog/42 → /posts/42 ^old/(.*)$ (no match) ✓ ^blog/([0-9]+)$ → /posts/$1 (blog/42 → /posts/42) [L] [L] flag — stop processing about → about ^old/(.*)$ (no match) ^blog/([0-9]+)$ (no match)