homepage Welcome to WebmasterWorld Guest from 54.227.171.163
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
Confused about underscores
how does a search on Brett match Brett_Tabke?
gilli

10+ Year Member



 
Msg#: 13949 posted 12:10 am on Jun 5, 2003 (gmt 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?

 

Macguru

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



 
Msg#: 13949 posted 12:14 am on Jun 5, 2003 (gmt 0)

As far as Google is target, use "-" not "_" in filenames. For the rest, use "-".

relgoog

10+ Year Member



 
Msg#: 13949 posted 12:33 am on Jun 5, 2003 (gmt 0)

I'll have to remember this one.
Cheers.

gilli

10+ Year Member



 
Msg#: 13949 posted 12:42 am on Jun 5, 2003 (gmt 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?

Macguru

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



 
Msg#: 13949 posted 12:59 am on Jun 5, 2003 (gmt 0)

Well, as far as I know, filenames are of some importance for plain vanilla sites...

ciml

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



 
Msg#: 13949 posted 1:08 am on Jun 5, 2003 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
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