Google: Hyphens Still Recommended Over Underscores In URLs For SEO

Jun 22, 2022 - 7:21 am 0 by

Google Dashes Hyphens Underscores

Gary Illyes from Google reiterated that it is still best for SEO purposes to use hyphens as separators in your URLs over using underscores are separators in your URLs. Why? Gary explained "we can't easily segment at underscore and that's why we are recommending dashes."

This came up in the latest Search Off The Record podcast at the 17 minute mark or so where Martin Splitt mentioned "That's why brevity for me is important as well. Yes, sure, you can use a URL shortener, but then you get links, like, I don't know, something.something/8907d12. And I'm like, yeah, that's not easy to remember at all. But if it's like "mobile-friendly-test" and I can remember that. But if it's "mobile_friendly-test" or something like that. And it's like "ugh!" But Gary, you said there's a difference."

Gary responded saying "There's a difference and that's in our segmenter. Basically we use some parts of the URL for understanding what the page is about. And the way it works is that we need to be careful about where we are segmenting because many things on the internet, things that people write about have an underscore in them, so we can't easily segment at underscore and that's why we are recommending dashes."

Here is the embed:

Now, there is a ton of history here on underscores versus hyphens in URLs and what Google has said about them before. In 2007, Matt Cutts of Google told us to use hyphens / dashes over underscores and clarified that he did not say that Google treated them equally. He did in 2017 say he want Google to treat underscores as separators but didn't seem successful back then. In 2016, John Mueller said underscores vs. dashes doesn't matter.

So I guess it still does matter, as this is the latest information from Google - that hyphens/dashes are still recommended over underscores for word separators in URLs.

One big caveat - I would not change established URLs just to add hyphens - that would be a horrible idea.

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: April 25, 2024

Apr 25, 2024 - 4:00 pm
Google Updates

Google March Core Update Still Rolling Out & Heated SEO Chatter Continue

Apr 25, 2024 - 7:51 am
Google

Report: How Prabhakar Raghavan Killed Google Search

Apr 25, 2024 - 7:41 am
Google Search Engine Optimization

Google Favicon Documentation Adds Rel Attribute Value Definitions

Apr 25, 2024 - 7:31 am
Google Ads

Google Ads API Version 16.1 Now Available

Apr 25, 2024 - 7:21 am
Google Search Engine Optimization

Google: Splitting & Merging Sites Takes Longer Than Normal Site Migrations

Apr 25, 2024 - 7:11 am
Previous Story: Google Says Content Not Visible On Page Is No Longer Less Important