Greg Ichshenko

Calgary SEO expert and digital marketing specialist,
developing advertising strategies for businesses of all sizes

(403) 308-5949

greg@to-the-top.ca
1509 14 Ave SW, Calgary,
AB T3C 0W4

    Submit your request or question, and I will get back
    to you shortly

    Do Hyphens Affect SEO?

    Hyphens have little or no ranking effect on their own, but they do change how easily Google and people can read a URL. Google’s URL structure guidance recommends hyphens rather than underscores to separate the words in a URL, because hyphens “clearly signal a word boundary”. For domain names, Google’s John Mueller said in 2021 that he did not think anything in Google’s algorithms looks specifically for hyphens. The useful answer therefore depends on where the hyphen sits: in the URL path, in the domain name, or in the keyword itself.

    A hyphenated URL slug compared with the same words joined together

    The short answer, by location

    Each of the three places a hyphen can appear has its own answer, and most confusion about this question comes from mixing them up. The table gives the short version before the detail below.

    Where the hyphen sits What Google has said The practical call
    URL path (the slug) Use hyphens to separate words; underscores and joined words are not recommended Use hyphens in every new URL, and leave established URLs alone unless they are changing anyway
    Domain name Mueller (2021) did not think anything in Google’s algorithms looks specifically for hyphens; keywords in the domain alone have hardly any ranking effect Choose the name people can say, spell and remember
    The keyword itself Google does not document how it treats hyphenated and closed spellings of the same word Check the search data and the results for each spelling before choosing one

    Hyphens in URLs: what Google recommends

    Google’s URL structure page is unusually direct on this point. It says “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.” It gives the reason as historical: underscores are commonly used to keep concepts together, as programming languages do with function names such as format_date, whereas a hyphen marks the break between words. Its examples set summer-clothing as recommended, summer_clothing as not recommended, and greendress, with the words joined, as not recommended either.

    That recommendation is about readability rather than a ranking boost. Google’s SEO Starter Guide says that “from a ranking perspective, the keywords in the name of the domain (or URL path) alone have hardly any effect beyond appearing in breadcrumbs.” A hyphen makes those words easier to read in the URL for the person deciding whether to click, which is the real reason to get it right. If you want the wider picture of how much the URL itself matters, the short version is that a clear URL helps people and Google understand a page, while a clever one adds little.

    Hyphens and underscores in URL slugs side by side

    Most sites built on a current platform already get this right without trying, because WordPress, like many other systems, builds slugs from the page title with hyphens between the words. The problems tend to come from older platforms, hand-named files with underscores, and slugs where someone deleted the spaces instead of replacing them. Google’s documentation sets no maximum number of hyphens, so the sensible limit is the one that keeps a slug readable: a few words that name the page’s topic, with no repeated keyword variants strung together, since keyword stuffing is against Google’s spam policies. The habits behind writing SEO-friendly URLs cover the rest, such as lowercase letters and no long ID numbers.

    Should you change old URLs with underscores?

    Changing a separator changes the URL, so the old address has to be redirected to the new one. Google’s page on redirects recommends a permanent server-side redirect (a 301 or 308) when a page moves, and its site move guidance warns that rankings can fluctuate while Google recrawls and that redirects should be kept “generally at least 1 year”. None of that is hard, but it is work with a short-term risk attached, and the gain from the separator alone is small.

    The decision rule that follows from Google’s own wording is simple. An established page with underscores in its URL, steady traffic and links pointing at it is usually best left alone, because Google can still crawl and index it even though it does not recommend underscores, and the change brings more risk than reward. When the URLs are changing anyway, during a redesign, a platform move or a content merge, switch to hyphens in the same pass and update the redirects, internal links, sitemap and canonical tags together. Every new page should use hyphens from the start, which costs nothing.

    Hyphens in domain names

    Hyphenated domain names are what most of the current search results for this question are about. In a Google SEO office-hours session reported by Search Engine Journal in July 2021, Mueller answered a question about choosing a hyphenated domain with “Up to you” and said, “I don’t think anything in our algorithms looks specifically for hyphens in domain names.” He added that keywords in a domain name are “kind of overrated” and advised against moving to a new domain just to add one. The Starter Guide says the same thing from the other side: when picking a site name, “do what’s best for your business”, because people will use that name to find you.

    So the cost of a hyphen in a domain is human rather than algorithmic. A domain gets spoken on the phone, read out in a radio spot, painted on a truck and typed into an email address by a customer, and “calgary dash roofing dot ca” is one more thing to get wrong in every one of those moments. If someone else owns the unhyphenated version, some of the people who forget the hyphen will end up on their site instead, which matters more if that someone is a competitor. A hyphen earns its place only when the joined version is unavailable or can be misread, in which case one hyphen is plenty.

    There are also technical rules. Under RFC 5891, the standard for internationalized domain names, a domain label must not start or end with a hyphen and must not have two hyphens in the third and fourth positions, a pattern reserved for encoded names that begin with xn--. Domain registries generally apply the same rules to ordinary names, so a name like -calgaryroofing.ca or ab--roofing.ca will normally be refused.

    A hyphenated domain name compared with an unhyphenated .ca

    .ca or a hyphenated .com

    Canadian businesses often face this choice when the plain .com is taken. The Starter Guide says the domain ending “only matters if you’re targeting a specific country’s users, and even then it’s usually a low impact signal.” For a Calgary business that serves customers in Alberta and the rest of Canada, a clean .ca is the one case where the ending lines up with the audience, and it is usually easier to say and remember than the same words with a hyphen on a .com.

    That makes the order of preference fairly clear for a local business: the unhyphenated name on .ca or .com first, a shorter or different unhyphenated name second, and a hyphen only as a last resort. For a business that already has a hyphenated domain with years of history behind it, the same logic as old URLs applies, and a move is rarely worth it for the hyphen alone. There is more on the trade-offs in this guide to choosing a domain name.

    Hyphens inside the keyword

    Some search terms are written more than one way, such as e-commerce and ecommerce, e-mail and email, or re-roof and reroof, which matters to Calgary roofers after hail season. Google does not document how it treats each pair, so the safe course is to check rather than assume. Look up both spellings in a keyword tool, then search both and compare the results.

    If the same pages come back for both, the two spellings are serving the same intent, so pick the more common form for the title and slug and let the other appear naturally in the text. If the results are clearly different, the spellings may be serving different searches, and only then is a separate page worth considering, provided its content would really differ. Either way, putting both spellings in one slug does nothing useful and makes the URL harder to read.

    Hyphens in Google Ads display URLs

    The same question comes up in paid search. Google Ads Help explains that the display URL in an ad is made up of the domain from the final URL plus the text in two optional path fields, and the responsive search ad guide limits each path field to 15 characters. Google notes that the path text does not have to match the exact wording of the URL, so it can be written for the reader, and a hyphen between two words counts toward the limit: calgary-roofing uses all 15 characters.

    The domain comes from the final URL rather than from ad text the advertiser writes, so a hyphenated domain can show up in the ads as well as in every organic result. When Google Ads campaigns run alongside SEO, it is one more reason to settle the domain question early, since the name appears in both places.

    The practical answer

    Hyphens matter less than many guides suggest and more than none. In URL paths, use them to separate words, because Google recommends it and readers find it easier, but do not move established pages just to swap underscores. In domain names, Google has said it does not think its algorithms look for hyphens, so the choice comes down to what people can say, spell and remember. For keywords written two ways, let the search results tell you whether the spellings mean the same thing.

    URL structure is one of the things worth checking on any site that has grown over several years or platforms, and fixing it is cheapest when it is folded into work that is happening anyway. SEO Company To-The-TOP!, a Calgary SEO and Google Ads firm founded in 2007, can review a site’s URLs and domain setup as part of a website audit and tell you which changes are worth making and which are better left alone. To talk it through, call (403) 308-5949.

    Clean, hyphenated URLs across a small business website

    Contact Calgary SEO Company To-The-TOP!

    Questions about anything in this article, or about your own rankings? Talk to a Calgary SEO specialist directly.

    Phone: (403) 308-5949
    Address: 1509 14 Ave SW, Calgary, AB T3C 0W4

    Hours:
    Monday to Friday: 10:00 am – 7:00 pm
    Saturday: 12:00 pm – 4:00 pm
    Sunday: closed