hello all
first off, im a total looser with mod_rewrite
due to a client request, im looking at the following setup:
a joomla installation using 2 third party addons, one to add multilanguage capabilties (say for english, french and spanish)
and another to rewrite the joomla standart urls to pURLs. so far so good.
now, the setup produces nicely working sef URLS organizing the languages as virtual folders, as in:
domain.com/french etc.
the client, however, insists in having the languages distributed over subdomains instead of folders, as in:
spanish.domain.com etc.
none of the code which rewrites the standrt urls into pURLs is within the htaccess file.
the task, thus, seems to present itself as such:
rewrite the language folders pURLs -which themselves, mind you, are already rewritten from the standart CMS URLs, into
subdomain pURLs, while keeping the whole thing working .....
id be grateful if somone could confirm whether this is this actually possible (i have some doubts about this)
and what a step by step approach may look like.
technically, google and users with their browsers must see french.domain.com.
hence, i assume, the requests resulting from people clicking on links need first be internally adressed to domain.com/french, and then the served page need to be again rewritten to french.domain.com.
in addition, people attempting to access domain.com/french directly need to be redirected to french.domain.com permanently, which -me thinks- is where the cat may be biting its own tail.
hope someone can shed seme light on this mess...
thanks in advance for all efforts
best regards :)
dee