redirect non www to www not working in ie

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 15 Jun 2012, 06:39

redirect non www to www not working in ie

15 Jun 2012, 06:46

my website http://xxxxx.com is not redirecting in IE .It is working fine in firefox.
i want it to redirect to http://www.xxxxx.com

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: redirect non www to www not working in ie

15 Jun 2012, 07:26

Hello,

The example of "Redirecting non-www version to www" is provided in examples section

Regards
Andrew

User avatar
Posts: 1
Joined: 11 Jul 2012, 05:32

Re: redirect non www to www not working in ie

11 Jul 2012, 05:43

hi HeliconAndrew, I have a htaccess file in my site and am trying to redirect non-www. to www., i have used your code that you point out in the example but it is not working - site is weblinx.biz - this works but inner pages such as weblinx.biz/internet_marketing.htm do not redirect? If it helps, below is the contents of my file (snippet) - all the individual redirects work, just not the canonical - (i also have the non-www. site setup in iis and have set that to be a redirection in the properties also)


# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.66

RewriteEngine on

RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]

RewriteRule ^index.htm http://www.weblinxseo.com/ [R=301]
RewriteRule ^advertise_your_business.htm http://www.weblinxseo.com/advertising/ [R=301]
RewriteRule ^advertising/ http://www.weblinxseo.com/advertising/ [R=301]
RewriteRule ^advertising.htm http://www.weblinxseo.com/advertising/ [R=301]
RewriteRule ^advertising_budget.htm http://www.weblinxseo.com/advertising/ [R=301]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 15 guests