Hello,

I have a project where I must separate the content depending on the country of the visitor (he chose his country in a list on a popup when he come on the website).

Domain access seems the perfect tool to do that exept that I don't want to have subdomain (as the website is already a subdomain), but I would like something like that :

subdomain.mysite.com/fr/fr (website for country france, in french with i18n)
subdomain.mysite.com/fr/en (website for country france, in english with i18n)
subdomain.mysite.com/us/fr (website for country USA, in french with i18n)
subdomain.mysite.com/us/en (website for country USA, in english with i18n)
etc...

So I would like to separate my domains with the code after my first /. Can domain do that ? If no, what module should I use to make what I want ?

Thank you

Alex

Comments

reysharks’s picture

I'm interested too..

reysharks’s picture

I found this but it seem not to work.

https://drupal.org/project/1175752/git-instructions

zmove’s picture

Status: Active » Closed (fixed)

I finally found a module to handle that : Subfolders Domains. I will try this.

nitebreed’s picture

See https://www.drupal.org/project/country_path

I believe this module is ideal for your situation

AnaSwin’s picture

Thanks @Nitebreed, I have the same problem today and your answer confirm my thoughts :)