HI,
I have tried once or twice to get this going. I am trying to setup tri-lingual site but want to finisch locally before going live. Yams or Modx keeps "ignoring" the rewrite base it set in htaccess. I tried using a different root folder, but would need a / in there to get "basedir/en basedir/nl basedir/fa"?
here s my htaccess
# Friendly URLs
RewriteEngine On
RewriteBase /basedir/
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Exclude /assets and /manager directories from rewrite rules
RewriteRule ^(manager|assets) - [L]
# Redirect from mydomain.com/rootname to mydomain.com/rootname/
RewriteRule ^en$ en/ [R=301,L]
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^en/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Any solution for this?