Jump to content

Bind root domain with a language in multi language store


Recommended Posts

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

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 by tazan (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...