homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

Google and 301 redirects on windows server

10+ Year Member

Msg#: 33965 posted 7:04 pm on Apr 19, 2006 (gmt 0)

I was lucky enough to have been told by google that my site's problem may be due to not redirecting my [mysite.com...] to [mysite.com...] - they both have equal pr (6).

So, I thought I better redirect http to [www....]

Here's the catch, I have an entirely html site on a windows server. My isp directed me on how to make an index.asp page that would redirect to www.mysite.com/index.html...

Unfortunately, I dont think this does the job, because it doesnt redirect other pages, like mysite.com/folder/1.html

Does anybody have a good way to redirect ALL pages to the www version of the site with a windows server? Or should I find an ISP that can host my site in linux?



WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 33965 posted 9:44 pm on Apr 19, 2006 (gmt 0)

A domain wide 301 redirect on a Windows IIS server is most definitely possible -- but it requires administrator privileges to the server and you may or may not have a cooperative ISP.

Here's a step-by-step:

Domain Level
"non-www" to "with-www"
Permanent 301 redirect in IIS

1. After the www.example.com website is set up, now set up
example.com (without the www) as a website in Internet
Services Manager.

2. Select the example.com web site in Internet Services
manager and enter the properties.

3. 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".

4. Specify the URL as http://www.example.com

5. Check the checkbox that says "A permanent redirection for
this resource." WARNING: If you skip this last step, you will
have a 302 redirect which is definitely NOT what you want.

Always verify your http headers after any changes like this, just
to be sure,

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved