Welcome to WebmasterWorld Guest from 54.144.7.239

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

Message Too Old, No Replies

Why Does Google Treat "www" & "no-www" As Different?

Canonical Question

     
7:58 pm on Sep 23, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2005
posts:716
votes: 0


...why does Google want to treat the "www" and non-"www" versions of a website as different sites? Isn't it pretty obvious that they are one site?

Or am I missing something?

9:53 pm on Sept 28, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2005
posts:716
votes: 0


However it would be nice to fix it.

Yes indeed. I've also just found using "site:domain.com -inurl www" that there is one entry in Google for a non-www page in this directory that still for some reason will not redirect to www, even if you are logged out! Odd. yet a direct call into other pages of the phpbb directory redirects fine.

[edited by: Simsi at 9:54 pm (utc) on Sep. 28, 2006]

10:00 pm on Sept 28, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Another way of looking at what BigDave just explained is also in the post over at: [webmasterworld.com...]
12:07 am on Sept 29, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 19, 2003
posts:804
votes: 0


Simsi,

Without seeing the complete setup I'd say that the rewrite ruleset for your phpBB (theBear takes certain precautions, normally needed to deal with hazardous materials) forums may be short circuiting your intent.

Now where is this rule set?

It should be in the .htaccess file after your general fix up the www/non-www issue.

8:02 am on Sept 29, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2005
posts:716
votes: 0


Now where is this rule set?

It should be in the .htaccess file after your general fix up the www/non-www issue.

Thanks theBear. The rules in the .htaccess file are part of an SE navigation mod for phpBB but I reckon it's flawed as (you suggest) removing them totally fixes the issue above. I'm gonna rip it apart :)

Simsi

[edited by: Simsi at 8:06 am (utc) on Sep. 29, 2006]

3:13 pm on Sept 29, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 19, 2003
posts:804
votes: 0


Simsi,

I didn't suggest removing the rules completely, just that they need to appear in the proper order in the proper place.

BTW, That particular MOD looks familar, I think I looked at it and went another way.

3:41 pm on Sept 29, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2005
posts:716
votes: 0


theBear

It's okay - I'm not removing it totally, just doing some alterations :-) It's a standard mod I think...I'm sure there are alternatives.

[edited by: Simsi at 3:42 pm (utc) on Sep. 29, 2006]

This 246 message thread spans 9 pages: 246
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members