Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library

 

Category: >> .HTACCESS Codes Library >> Redirection By Language


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 ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor


  About Copying

# Begin Language Redirect RewriteEngine on RewriteCond %{HTTP:Accept-Language} (fr) [NC] RewriteRule .* http;//www.yourdomain.com/french-language/index.html [L] # // --> End


[ Snippet Options ]

 

© 2002 -  Snap Builder Public Codes Library