WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Google Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Google Discussion Forum Google Discussion forum is for topics specifically related to Google. There is a subforum dedicated to AdSense/AdWords subjects.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-06-2005, 07:06 AM
WebProWorld Veteran
 

Join Date: Jul 2005
Location: United Kingdom
Posts: 392
Ellio RepRank 0
Default Canonical Homepage and Windows Server

I have just noticed that Google have a separately cached pages for http: //oursite.co.uk and http: //www. oursite.co.uk and I believe this to be triggering "duplicate content" filters and causing the current problems we are having with the homepage "Page Rank" and "SERPs" in Google. (PR6 to PR0 all other 400 pages OK)

As we are now on a Windows server we cannot use a .htaccess file to set up a 301 redirect so I need your help if you have any ideas as to how to tell Googlebot that we only want the http: //www.oursite.co.uk in the index. I know there are some scripts available but it will be hard to check if they are working as the non www already default auto-redirects to the www page!

Can anybody with genuine experience or knowledge in this are please help? Other comments may just confuse the issue.
Reply With Quote
  #2 (permalink)  
Old 12-06-2005, 02:57 PM
WebProWorld Pro
 

Join Date: Nov 2004
Location: Spain
Posts: 121
jaldridge RepRank 1
Default

This is very easy to do on a windows server.

Open IIS and set up a new website for oursite.co.uk (set the host header to this). You should already have one set up for host header www.oursite.co.uk.

Once you've set up a website for oursite.co.uk, right click the website and select "properties".

Then select the "Home directory" tab. Here you have to select the "Redirect to a url" option, type in "www.oursite.co.uk" in the "redirect to" box and then select the checkbox "A permanent redirect to this url".

And that's it! Very easy.

You can also set this up in the global.asax file if you are using asp.net (I can give you the code if you need it) but I would try it in IIS first.

Let me know if you have any problems with it.
__________________
---------------------------------
Spanish property
Reply With Quote
  #3 (permalink)  
Old 12-06-2005, 04:37 PM
WebProWorld Veteran
 

Join Date: Jul 2005
Location: United Kingdom
Posts: 392
Ellio RepRank 0
Default

This is very easy to do on a windows server.

Quote:
Open IIS and set up a new website for oursite.co.uk (set the host header to this). You should already have one set up for host header www.oursite.co.uk.

Once you've set up a website for oursite.co.uk, right click the website and select "properties".

Then select the "Home directory" tab. Here you have to select the "Redirect to a url" option, type in "www.oursite.co.uk" in the "redirect to" box and then select the checkbox "A permanent redirect to this url".

And that's it! Very easy.
Many thanks for that its the exact solution I came accross a little earlier and implemented but with no immediate effect!

The reason being our domain host has not pointed the A record to our IP address, only the "www" A record, the effect being the non wwww is currently being sent to their default IP and then redirected to the www address.

I have asked them to change the DNS A record to point at our IP (Server) address and once this is done your solution should work very well.

I have also considered using IIS to set up a seperate site folder and host a single unique page on the oursite.co.uk domain with a manual text link to the correct www site. This way there is absolutely no chance of Google having canonical problems and confusing the two domains.

Two methods both of which should do the job.

Once again many thanks
Reply With Quote
Reply

  WebProWorld > Search Engines > Google Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0