Proof Google Treats Underscores & Hyphens Differently?

Mar 23, 2009 - 7:10 am 5 by

Over a year ago, almost two years ago, there were rumors that Google would treat underscores in the URL the same way they treat hyphens in the URL, as word separators. Matt Cutts squashed the rumor back then, suggesting that Google was not treating them the same.

Historically, underscores (i.e. domain.com/file_name.html) was treated as a single word (i.e. filename) and hyphens (i.e. domain.com/file-name.html) was treated as two words (i.e. file name).

A new WebmasterWorld thread asks more questions on that. Senior member, internetheaven, noticed, and I quote:

I have a URl: www.example.com/folder/file_name.htm

and if you search for:

allinurl: file site:example.com

or

allinurl: name site:example.com

you get 0 results. Whereas if you search for:

allinurl: file_name site:example.com

the page shows up in the results fine.

I thought underscores were the same as hyphens these days?

Well, they are not the same these days, and that might be proof. Technically, I do see results that do match on sites I tested for these types of queries. What I mean is that Google will still highlight and display results for a keyword that is in part of the underscored URL. I am not sure why it did not show up for this member. Maybe it is something happening at Google.com and since I am currently in Israel, I am getting a different data set.

Receptional, WebmasterWorld moderator, explained:

In certain cases, Google may figure out that underscore is being used as a word separator (similar to the process for conjoined words). But an underscore is not a word separator - treating it as such would at a minimum cause a lot of developers to be frustrated when using Google, as many function names etc. use underscores.

Underscores and hyphens have never been treated the same - if you want a guaranteed word separator in a URL, always use a hyphen.

For now, until we hear from Matt on a change in underscores and hyphens, Google treats them differently.

Forum discussion at WebmasterWorld.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google March 2024 Core Update Finished April 19th (A Week Ago)

Apr 26, 2024 - 4:40 pm
Search Forum Recap

Daily Search Forum Recap: April 26, 2024

Apr 26, 2024 - 4:00 pm
Search Video Recaps

Search News Buzz Video Recap: Google Core Update Updates, Site Reputation Abuse Coming, Links, Ads & More

Apr 26, 2024 - 8:01 am
Google Search Engine Optimization

Google Publisher Center No Longer Allows Adding Publications

Apr 26, 2024 - 7:51 am
Google

Google Tests Placing The Snippet Date Next To URL

Apr 26, 2024 - 7:41 am
Google

Google Breaks Out Googlebot IP Ranges For User-Triggered Fetchers

Apr 26, 2024 - 7:31 am
Previous Story: iGoogle Signing You Out?