Forums / General / 301 url redirection not working in ie.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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