Forum Moderators: phranque
Thanks for any help
Two methods come to mind:
First you could change your site to use 'search engine friendly' URLs, like http://www.example.com/fr/index.php and then internally rewrite those requests to /index.php?language=fr when they are requested by users and search engines. This is a simple mod_rewrite exercise.
The second method would be to set up subdomains for each language, such as http://espanol.example.com/index.php, and again internally rewrite requests for that subdomain to /index.php?language=es.
Either way, you'll need to change the links on your pages to the 'friendly' version of the URL, and then use mod_rewrite to create the proper language query string to call your script when that friendly URL is requested.
This avoids the problem of having differrent-language content appearing at the same URL.
Jim
see [httpd.apache.org...]
for more details.
Note that there were some changes to this between versions 1.3 and 2