Thread:Project:Support desk/Short URL for multiple language mediawiki installation in subdirectories

I have installed the English Version in site.com/en I have also installed the Arabic Version in site.com/ar

To get short url, I inserted

RewriteEngine On RewriteBase /en RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^en/(.*) index.php?title=$1 [PT,L,QSA]

RewriteEngine On RewriteBase /ar RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ar/(.*) index.php?title=$1 [PT,L,QSA]

Yes the index. php went missing which is a good thing. However, instead of me having different mediawiki language versions for each of my /en and /ar subdirectories, i have one instead.

is there something wrong with the htaccess code or do I need to amend the Localsettings.php?

I have spent about 10 hours already experimenting with wikifarms. not exaggerating, but i am just exhausted. I hope someone can help me out there.