Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Dynamic way
- RewriteRule ^/([a-z]{2})$ /index.php?lang=$1 [QSA,L]
- // Static way
- RewriteRule ^/en$ /index.php?lang=fr [QSA,L]
- RewriteEngine on
- RewriteRule ^en$ /index.php?lang=$1
- RewriteEngine on
- RewriteRule ^/([a-z]{2})$ /index.php?lang=$1
Add Comment
Please, Sign In to add comment