Forum Moderators: phranque
RewriteEngine on
RewriteBase /RewriteRule (.*)/index\.php$ /index.php?lang=$1
This works like it should and creates user friendly URLs like this one:
http://www.example.com/deutsch/index.php
But it also prevents me from accessing index.php files in other directories like in phpadsnew/index.php or admin/index.php. Is there any way to exclude these directories?