301 url redirection not working in ie.

Author Message

manoj sharma

Monday 13 July 2009 12:37:13 am

hi guyz..

my problem is that when i try to mysite.com in firefox it redirects me to http://www.mysite.com, but when i try the same thing in ie, it takes me to yahoo search.

in my .htaccess file i have used

RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite..com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]

but not working in ie. it still takes me to the yahoo search page.

how can i resolve this issue?

Thanks & Regards,
Manoj Sharma

Max Keil

Wednesday 15 July 2009 2:46:39 am

Hi Manoj,

we use this to redirect our requests! It works everywhere.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www|nocache)\.all2e\.com$
RewriteRule ^(.*)$ http://www.all2e.com/$1 [L,R=301]

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.