Hello,
I pretend to redirect:
http://asite.com/directory
or
http://www.asite.com/directory
to
http://asite.com/directory/index.php
or
http://www.asite.com/directory/index.php
so that visitors only have to type
http://asite.com/directory/
or
http://www.asite.com/directory/
and be redirected to
http://asite.com/directory/index.php
or
http://www.asite.com/directory/index.php
I'm using .htaccess inside /directory/ and i have tried this:
RewriteCond %{HTTP_HOST} ^asite.com/directory$ [OR]
RewriteCond %{HTTP_HOST} ^www.asite.comt/directory$
RewriteRule ^compras/indice.php$ "http\:\/\/www\.a site\.com\/directory\" [R=301,L]
(gives a loop)
and this:
redirect /directory /directory/index.php
(gives a loop)
Your precious help would be much appreciatedI'ts urgent..
Tank you very much for your atention.



LinkBack URL
About LinkBacks
I'ts urgent..
Reply With Quote





