Salve a tutti,
dunque ho un sito con doppia installazione (ita/eng) http://www.automotivespace.it e .it/eng, aggiungendo questo codice nel file index
<?php
define(‘WP_USE_THEMES’, true);
if (substr($_SERVER[“HTTP_ACCEPT_LANGUAGE”], 0, 2) == “it”)
require(‘./ita/wp-blog-header.php’);
else
require(‘./eng/wp-blog-header.php’);
?>
Si viene indirizzati all’italiano (se il browser è italiano) e all’inglese, se il browser è inglese.
Se si vuole leggere l’altra lingua esiste un widget a sx con delle bandierine.
Bene il sito/i siti, funzionano una bellezza in Italia….alla grande su ogni browser….all’estero ho problemi, cioè mi succede che su Opera e su Chrome vada in Inglese ( e va bene cosà¬) ma se clicco sulla bandiera italiana o uso il link diretto all’articolo italiano….non c’è nulla da fare va solo in inglese.
Questo però non succede con Internet explorer…..secondo voi che può essere?
Grazie