All processing is 100% client-side. Your rules are never sent to any server.
RewriteRule
RewriteCond (optional)
Test URLs
Server Variables (for conditions)
Results
Enter a rule and test URLs, then click "Test Rules"
Generated Rule
# Your rule will appear here
Common Examples
Quick Reference
Pattern Syntax
^ Start of string$ End of string. Any single character.* Any characters (greedy).+ One or more characters(.+) Capture group[a-z] Character class\\. Literal dotBack-references
$1 First capture from RewriteRule$2 Second capture from RewriteRule%1 First capture from RewriteCond%{HTTP_HOST} Server variable%{REQUEST_URI} Request URI%{QUERY_STRING} Query stringCommon Flags
[L] Last rule, stop processing[R=301] Redirect permanently[R=302] Redirect temporarily[NC] Case-insensitive[QSA] Append query string[NE] No escape output[PT] Pass through[F] Forbidden (403)Condition Flags
[NC] Case-insensitive[OR] OR with next condition! Negate the pattern-f Is a file-d Is a directory-s Is file with size > 0