multilanguage website |
[eluser]bmwww[/eluser]
thanks for your quick reply. It is just what i was looking for!!! i followed the link's example and all works correctly except for the url rewrite. If i remove "index.php" with my .htaccess file it stops working and returns only the english wersion. without url rewrite: http://multilanguage.test.lan/index.php/en/about (ok, returns english lang) http://multilanguage.test.lan/index.php/fr/about (ok, returns french lang) with url rewrite: http://multilanguage.test.lan/en/about (ok, returns english lang) http://multilanguage.test.lan/fr/about (no, returns still english lang) this is my .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule> thanks |
Messages In This Thread |
multilanguage website - by El Forum - 03-19-2010, 01:50 PM
multilanguage website - by El Forum - 03-19-2010, 02:18 PM
multilanguage website - by El Forum - 03-20-2010, 06:30 AM
multilanguage website - by El Forum - 03-20-2010, 11:26 AM
multilanguage website - by El Forum - 03-20-2010, 11:44 AM
multilanguage website - by El Forum - 03-20-2010, 09:30 PM
multilanguage website - by El Forum - 03-22-2010, 12:21 PM
multilanguage website - by El Forum - 04-28-2010, 01:20 PM
multilanguage website - by El Forum - 04-29-2010, 02:23 AM
multilanguage website - by El Forum - 04-29-2010, 02:46 AM
multilanguage website - by El Forum - 04-29-2010, 02:52 AM
multilanguage website - by El Forum - 04-29-2010, 03:05 AM
multilanguage website - by El Forum - 04-29-2010, 03:29 AM
multilanguage website - by El Forum - 04-19-2011, 12:54 AM
|