how to redirect to current directory with rewriterule
How can I redirect to current directory with rewriterule. example: http://www.mySite/directory/subdirectory/index.php
now program is trying to goto vvv.mySite/index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
##RewriteRule . /index.php [L]
RewriteRule . index.php [L]