List Info

Thread: IIS redirect non-www to www




IIS redirect non-www to www
country flaguser name
United States
2007-03-20 19:16:20
I asked my network admin to do a 301 redirect for domain.com
to
redirect to www.domain.com.

He said with IIS that this would create an infinite loop and
wasn't
doable.

I need to direct traffic and page rank to the www version of
our site.
Any ideas how I go about doing this?

-Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


Re: IIS redirect non-www to www
country flaguser name
United States
2007-03-20 21:23:35

On 20 Mar 2007, at 20:16 , KenS wrote:

> I asked my network admin to do a 301 redirect for
domain.com to
> redirect to www.domain.com.
>
> He said with IIS that this would create an infinite
loop and wasn't
> doable.

Presuming you have IIS6 he can install an extensibility
module that  
supports _proper_ Server-Side Redirection. Here's one
example (and  
there are likely others out there):

   http://che
eso.members.winisp.net/IIRF.aspx

- Joe



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


Re: IIS redirect non-www to www
country flaguser name
United States
2007-03-20 21:48:02
Hi Ken,

We've had many of our clients do this redirect. These are
the
instructions we provide:

To perform the redirect, suppose that the content for
www.example.com
comes from c:inetpubwww-example-com:

Open Internet Services Manager and create a web site for
example.com.
Make the content directory for the site be the same
directory, c:
inetpubwww-example-com, as www.example.com.
Test getting content from http://example.com. This
should work, but
won't redirect yet.
Select the xoc.net web site in Internet Services manager and
enter the
properties.
In the Home Directory tab, change the option button
"When connecting
to this resource the content should come from" to
"A redirection to a
URL".
Specify the URL as http://www.example.com.
Check the checkbox that says "A permanent redirection
for this
resource."

Also, Ian McAnerin has similar instructions here:
http://www.mcanerin.com/EN/articles/301-redirect-IIS.asp


No infinite loop problem.

Linda

On Mar 20, 8:16 pm, "KenS" <k...kensavage.com> wrote:
> I asked my network admin to do a 301 redirect for
domain.com to
> redirect towww.domain.com.
>
> He said with IIS that this would create an infinite
loop and wasn't
> doable.
>
> I need to direct traffic and page rank to the www
version of our site.
> Any ideas how I go about doing this?
>
> -Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


Re: IIS redirect non-www to www
country flaguser name
United Kingdom
2007-03-20 21:14:01
Hi Ken

I must admit that I am not convinced that your admin is
correct, but one
option would be to add something like the following to your
pages. 

<%
host =
lcase(request.servervariables("SERVER_NAME"))

 SELECT CASE host
   CASE "domain.com"
      response.redirect "http://www.domain.com&quo
t;
  CASE ELSE
 
  END SELECT
%>  

Regards

Tim Marchant

> -----Original Message-----
> From: KenS [mailto:kenkensavage.com] 
> Sent: 21 March 2007 00:16
> To: SEM 2.0
> Subject: [SEM2] IIS redirect non-www to www
> 
> 
> I asked my network admin to do a 301 redirect for
domain.com 
> to redirect to www.domain.com.
> 
> He said with IIS that this would create an infinite
loop and 
> wasn't doable.
> 
> I need to direct traffic and page rank to the www
version of our site.
> Any ideas how I go about doing this?
> 
> -Ken
> 
> 
> > 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


Re: IIS redirect non-www to www
country flaguser name
United States
2007-04-06 17:43:14
First of all a big hello to all the members in the group.

Now this subject is somewhat familiar with me. In my case I
used a 301
redirect created in .htaccess, using the following code
snippet:

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

Hope this helps.

Best regards, George

On Mar 21, 3:16 am, "KenS" <k...kensavage.com> wrote:
> I asked my network admin to do a 301 redirect for
domain.com to
> redirect towww.domain.com.
>
> He said with IIS that this would create an infinite
loop and wasn't
> doable.
>
> I need to direct traffic and page rank to the www
version of our site.
> Any ideas how I go about doing this?
>
> -Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


Re: IIS redirect non-www to www
country flaguser name
United States
2007-04-08 18:15:36
No help whatsoever. 

Tim

On Apr 6, 11:43 pm, "gee...gmail.com"
<gee...gmail.com> wrote:
> First of all a big hello to all the members in the
group.
>
> Now this subject is somewhat familiar with me. In my
case I used a 301
> redirect created in .htaccess, using the following code
snippet:
>
> RewriteEngine On
> RewriteCond % ^domain.com [NC]
> RewriteRule ^(.*)$http://www.domain.com/$1[L
,R=301]
>
> Hope this helps.
>
> Best regards, George
>
> On Mar 21, 3:16 am, "KenS" <k...kensavage.com> wrote:
>
> > I asked my network admin to do a 301 redirect for
domain.com to
> > redirect towww.domain.com.
>
> > He said with IIS that this would create an
infinite loop and wasn't
> > doable.
>
> > I need to direct traffic and page rank to the www
version of our site.
> > Any ideas how I go about doing this?
>
> > -Ken


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SEM 2.0" group.

To post to this group, send email to SEM2googlegroups.com

**The moderators highly recommend you visit http://groups.goo
gle.com/group/SEM2 and log into the forum on the web, to
access the full range of posting, reading, and searching
options. To make your subscription "web-only" (no
email), you can set your preferences while logged into the
forum.**

To unsubscribe from this group, send email to
SEM2-unsubscribegooglegroups.com
-~----------~----~----~----~------~----~------~--~---


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )