tazan Posted March 21, 2014 Share Posted March 21, 2014 Hi, Right now I have a Danish domain and the shop is in 3 langauges www.domain.dk/da/ - Danish www.domain.dk/en/ - English www.domain.dk/et/ - Estonian But what I want is the root domain to represent the Danish language. www.domain.dk/ - Danish www.domain.dk/en/ - English www.domain.dk/et/ - Estonian How could I accomplish this? Sincerely, Hendrik Link to comment Share on other sites More sharing options...
dioniz Posted March 21, 2014 Share Posted March 21, 2014 I'm not sure i understand your question but if you want your default language to be danish go to Localization > Localization and choose default language, country etc. Link to comment Share on other sites More sharing options...
tazan Posted March 22, 2014 Author Share Posted March 22, 2014 (edited) I'm not sure i understand your question but if you want your default language to be danish go to Localization > Localization and choose default language, country etc. It is not that I want. I want to get rid of the "da" after the root domain when the language is set to Danish. Right now when someone picks Danish then they get the sub URL www.domain.dk/da/ but I want it to be www.danish.dk because the domain already represents the Danish language no need to have "da" extra. Edited March 22, 2014 by tazan (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted March 22, 2014 Share Posted March 22, 2014 Oh, ok, then maybe this will help: http://www.prestashop.com/forums/topic/203972-remove-en-from-url-when-multi-language-enstalled/ Link to comment Share on other sites More sharing options...
tazan Posted March 22, 2014 Author Share Posted March 22, 2014 Those guys want to achieve the same thing, but they do not come to a final solution unfortunately. They only patch it with moving "da" to the parameter as "isolang=da". The other thing is that when I do removed the "da" with .htaccess then the Prestashop still doesn't know what to do with the URL where language is not specified. Plus I'm not interested in producing any 301 redirections with .htaccess. I have seen multiple threads like mine, but no one has a solution. But let me ask this. Does anyone know where Prestashops parses and determines what language content is being requested? As I might as well write some sort of a hack on the core level to bind root domain with Danish, so that Prestashop still would understand that is Danish I want. Link to comment Share on other sites More sharing options...
Recommended Posts