language subdomain htaccess
-
Hi all,
I have problems creating a .htaccess file that directs the language subdomain to the main page. For instance:
https://www.domain.com, de.domaian.com, nl.domain.com, fr.domain.com
I want to serve these pages the same user generated content (so a MU installation is -I think- not an option), but I want the page to be translated accordingly and serve some language based content.
Does anyone know if it is possible to show the user the main page (which is currently https://www.domain.com) and send a POST/GET to PHP letting the code know that the user is currently on the *.domain.com page? It is important that the subdomain is not rewritten to something like https://www.domain.com/?lang=de but stays de.domain.com/
I hope my question is clear.
Thanks in Advance,
Matthijs
- The topic ‘language subdomain htaccess’ is closed to new replies.