x5 - Subdirectories for languages using htaccess rewrite
On a previous x4 site I had something like the following set up with each language subdirectory using the files from the root of domain.com. ie just one install of X-cart for the 4 languages.
domain.com/en
domain.com/es
domain.com/it
domain.com/fr
I want to do the same with the new x5 site.
If I add the following to the .htaccess file
RewriteRule ^es/(.*) /$1
RewriteRule ^fr/(.*) /$1
RewriteRule ^it/(.*) /$1
I can access any pages from the root directory from the language subdirectories, for example domain.com/toys is available from domain.com/fr/toys and domain.com/es/toys, but the links themselves on the page are missing the language subdirectory.
Where should I look to correct this?
__________________
Core version: 5.5.xx
|