1
vote
0answers
162 views

.htaccess language detection, redirect and friendly URLs [closed]

I'm having problems with my .htaccess file. RewriteEngine On RewriteCond %{HTTP:Accept-Language} (fr) [NC] RewriteRule .* http://www.example.com/frans [R,L] RewriteRule .* ...
1
vote
1answer
231 views

Multilingual Support on a PHP Website

I have a very basic PHP website that is currently setup for two languages like so: lang.en.php - English strings lang.es.php - Espanol strings en/ - folder with PHP pages (PHP first processes the ...
38
votes
7answers
5k views

How should I structure my URLs for both SEO and localization?

When I set up a site in multiple languages, how should I set up my URLs for search engines and usability? Let's say my site is www.example.com, and I'm translating into French and Spanish. What is ...