Welcome to WebmasterWorld Guest from 54.160.221.82

Forum Moderators: open

Message Too Old, No Replies

Confused about underscores

how does a search on Brett match Brett_Tabke?

     
12:10 am on Jun 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 30, 2002
posts:78
votes: 0


A couple of weeks ago there was a thread discussing the hyphen (-) and underscore (_) characters and how Google treats them. There are also various other threads discussing the same thing (site search on "underscore hyphen google").

My understanding of the end result was that hyphens are treated as spaces (or word separators) but underscores are not:

"this-that" = "this that"
"this_that"!= "this that"

OK all makes sense so far?

If this is the case then how does a search on "Brett" (http://www.webmasterworld.com/forum3/13907-1-15.htm) match his profile page which only contains the word "Brett" as part of the substring "Brett_Tabke"?

Is this a case of inbound link text creating the association between the two terms? Not from what I can see.

Any ideas?

12:14 am on June 5, 2003 (gmt 0)

Senior Member

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

joined:Dec 30, 2000
posts:3300
votes: 0


As far as Google is target, use "-" not "_" in filenames. For the rest, use "-".
12:33 am on June 5, 2003 (gmt 0)

New User

10+ Year Member

joined:Sept 16, 2002
posts:15
votes: 0


I'll have to remember this one.
Cheers.
12:42 am on June 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 30, 2002
posts:78
votes: 0


Macguru if I understand you correctly you are saying the underscore character is treated diffently in URLs to how it is treated in content?
12:59 am on June 5, 2003 (gmt 0)

Senior Member

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

joined:Dec 30, 2000
posts:3300
votes: 0


Well, as far as I know, filenames are of some importance for plain vanilla sites...
1:08 am on June 5, 2003 (gmt 0)

Senior Member

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

joined:June 22, 2001
posts:3805
votes: 2


I think that the answer is in allinanchor:brett [google.com]. It would only take one link with "Brett" as anchor text to make his profile appear for that search.

For the moment, I would stick with received wisdom. Hyphen equals space, but not underscore.