Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & aakk9999 & andy langton & goodroi

Message Too Old, No Replies

Google search results show website without www

9:41 pm on Sep 18, 2008 (gmt 0)

Preferred Member

5+ Year Member Top Contributors Of The Month

joined:Aug 30, 2007
posts: 603
votes: 3

Hi, not sure why this happens and apologies if this has been posted elsewhere ( I have looked but cannot find it) I have a website (about 3 years old) and over the past week several pages have now started appearing without the www. in the search results (and also further down than the with www). The cache page (of the same search results) without the www show an error code by Google.. Any suggestions? I have now added a mod-rewrite to send the non www to www only but not sure IF this is the answer.
11:12 pm on Sept 18, 2008 (gmt 0)

Senior Member

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

joined:May 26, 2000
votes: 0

Yes, you're on your way to a fix. Just make sure your rule indicates a 301 HTTP status for the redirection. If you don't intentionally set the status code as 301, you will most likely get a 302 and the without-www urls will not be removed from the index.
4:29 am on Sept 19, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 26, 2006
posts: 42
votes: 0

Google Webmaster Tools has a 'set preferred domain' function. It may help with the way your domain displays in search results.