NICOLETA Posted November 16, 2013 Share Posted November 16, 2013 La acesarea http://www.iluminat-electrice.ro se face redirijare catre http://www.iluminat-electrice.ro/ro/ sau catre http://www.iluminat-electrice.ro/en/. Va rog sa-mi spuneti daca este normala aceasta redirijare... Link to comment Share on other sites More sharing options...
costi43 Posted November 17, 2013 Share Posted November 17, 2013 da este normala daca folosesti doua limbi, daca nu folosesti decat o limba atunci dezactiveaza limba engleza, sau romana dupa caz Link to comment Share on other sites More sharing options...
NICOLETA Posted November 17, 2013 Author Share Posted November 17, 2013 da este normala daca folosesti doua limbi, daca nu folosesti decat o limba atunci dezactiveaza limba engleza, sau romana dupa caz Ok. multam'.! Link to comment Share on other sites More sharing options...
Radu Posted November 23, 2013 Share Posted November 23, 2013 este normal, dar lucrez la o modificare sa o scot astfel incat sa am pentru limba default url-urile originale. Motivul, dupa ce am adaugat o noua limba, imi schimba url-urile ce le am deja indexate pe google Link to comment Share on other sites More sharing options...
NICOLETA Posted November 24, 2013 Author Share Posted November 24, 2013 este normal, dar lucrez la o modificare sa o scot astfel incat sa am pentru limba default url-urile originale. Motivul, dupa ce am adaugat o noua limba, imi schimba url-urile ce le am deja indexate pe google Cred ca ar fii foarte util.... Asteptam vesti. Link to comment Share on other sites More sharing options...
valentin.g Posted November 29, 2013 Share Posted November 29, 2013 (edited) faceti modificarile in fisierele de mai jos in /classes/ nota: copiati tot codul modificat modificare functie in Dispatcher.php protected function setRequestUri() if ($this->use_routes && Language::isMultiLanguageActivated()) if (preg_match('#^/([a-z]{2})/ ?#', $this->request_uri, $m)) { $_GET['isolang'] = $m[1]; $this->request_uri = substr($this->request_uri, 3); } else $_GET['isolang'] = Language::getIsoById(Configuration::get('PS_LANG_DEFAULT')); in Link.php modificare functie protected function getLangLink if (Configuration::get('PS_LANG_DEFAULT') == $id_lang) return ''; if (!$id_lang) $id_lang = $context->language->id; return Language::getIsoById($id_lang).'/'; Edited November 29, 2013 by valentin.g (see edit history) Link to comment Share on other sites More sharing options...
valentin.g Posted December 2, 2013 Share Posted December 2, 2013 radu, ai testat codul de mai sus ? poate fi facut un override si postat la toti interesati. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now