Created
October 4, 2015 11:53
-
-
Save yoavmatchulsky/a8d91044048414175f25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{QUERY_STRING} ^lang=(\w{2})/(.*)$ | |
RewriteRule .* http://%1.example.com/%2 [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment