Code Snippet </> Info
Snippet Name: Redirection By Language
Description: You can redirect a visitor depending on their language.
Note: You will need to change the language abbreviation for each country language that you want to redirect.
RewriteCond %{HTTP:Accept-Language} (fr) = French
Author:
Last Modified: 2014-05-18 05:49:15
Language: .htaccess
Highlight Mode: html
|
Copy Codes: Use Free Notepad ++ |
|
Snap HTML Code Editor: Paste the source code, make changes and instantly see it in live preview. Snap HTML Code Editor
|
|
Copied To Clipboard!
# Begin Language Redirect
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (fr) [NC]
RewriteRule .* http;//www.yourdomain.com/french-language/index.html [L]
# // --> End
|