.htaccess içine ;
Options +FollowSymLinks
RewriteEngine On
# Türkçe
RewriteCond %{HTTP_ACCEPT_LANGUAGE} ^tr [NC]
RewriteRule ^.*$
türkçe adres [L,R]
# İnglizce
RewriteCond %{HTTP_ACCEPT_LANGUAGE} ^en [NC]
RewriteRule ^.*$
ingilizce adres [L,R]
yada header yada footer içine
Alıntı
<script>
var type=navigator.appName
if (type=="Netscape")
var lang = navigator.language
else
var lang = navigator.userLanguage
var lang = lang.substr(0,2)
// İngilizce
if (lang == "en")
window.location.replace('ingilizce.html')
// Almanca
else if (lang == "de")
window.location.replace('almanca.html')
// Türkçe
else if (lang == "tr")
window.location.replace('turkce.html')
// Bunlardan biri değilse yönlendirilecek sayfa
else
window.location.replace('diger.html')
</script>