Hi,
I am having little problem. I am here for your help again.
I want index.php to redirected domain name. and i did this with the following code.
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ sitename [R=301,L]
But my site is calling all the subpages like this.
index.php?dll=login, index.php?dll=register
To preserve this i did like this.
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php(.*)$ domain.com/$2 [R=301,L]
but it is post any form variable
So, is there a way to redirect only if there is no query string in index.php and if there is no form post variable?
awaiting for your reply
Regards
Mahesh