Last active
September 28, 2015 10:15
-
-
Save bepatrickdavid/0c5432b1b3b362913d71 to your computer and use it in GitHub Desktop.
WP: htaccess redirect reindirizzamento page in base languages in base alla lingua
This file contains hidden or 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP:Accept-Language} ^en [NC] | |
RewriteRule ^/?$ http://www.zendergroup.com/en/ [R,NC,L] | |
RewriteCond %{HTTP:Accept-Language} ^de [NC] | |
RewriteRule ^/?$ http://www.zendergroup.com/de/ [R,NC,L] | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment