Use hyphens, not underscores, in URLs, Google says
Google recommends hyphens, not underscores, between words in URLs, because hyphens clearly mark where one word ends and underscores are often used to bind concepts together, as in programming function names.
What it means for your Maryland business
Between hyphens and underscores in URLs, use hyphens. Google says a hyphen signals a break between words, while an underscore tends to read as joining them, so /crab-cakes is clearer than /crab_cakes to both people and Google. Address choices come up for every Maryland business that adds pages to its site, most often when a new site is being planned or a store is setting up product and category addresses: restaurants naming menu pages, retailers with large catalogs, law firms adding practice-area pages, and real estate agents creating neighborhood pages.
While a Laurel cleaning company builds a new site, its service pages can use short, readable addresses such as /move-out-cleaning and /office-cleaning-laurel, rather than a page ID number or /MoveOutCleaning. If the site serves Spanish-speaking customers in Prince George's County, Google's guide also suggests using words in the audience's language in those addresses, such as a Spanish word for the service on the Spanish pages.
URL cleanups backfire in three ways: renaming every existing URL just to swap underscores for hyphens, which creates churn and broken links if redirects are missed; mixing upper and lower case, since Google treats /Services and /services as different pages; and piling filter and tracking parameters onto product addresses, which Google warns can multiply the addresses pointing to the same content. Change an address only when you're rebuilding anyway, and redirect each old URL to its new one when you do.
In Google's words
“Specifically, we recommend using hyphens (-) instead of underscores (_) to separate words in your URLs, as it helps users and search engines better identify concepts in the URL.”
What Google says
Google recommends hyphens, not underscores, between words in URLs, because hyphens clearly mark where one word ends and underscores are often used to bind concepts together, as in programming function names. The same URL guide prefers readable words over long ID numbers, words in the audience's language, few parameters and consistent letter case, since Google treats URLs as case sensitive.
Where to go next
The entries on either side of this one in Documentation updates.
