Should you use hyphens or underscores in URLs?
Rubric check: underscore in a URL (check id url_underscores)
Use hyphens. Google recommends hyphens to separate words in URLs, as in blue-running-shoes, rather than underscores. Rubric notes addresses with underscores, but you don't need to change old ones just for this.
Why it matters for SEO
Google's URL guidance says to use hyphens between words, because they make it easier for people and search engines to spot the separate words. Underscored URLs still get crawled and ranked.
Changing a live URL means a redirect and a short wait while search engines update. That cost is usually bigger than the gain, so apply the rule to new pages.
Does this matter for ChatGPT and AI Overviews?
There's no evidence that ChatGPT or AI Overviews care about hyphens versus underscores. They read the page content, not the address.
Rubric shows this as a minor note, inside a capped allowance shared with its other URL checks.
How Rubric scores it
MinorMinor checks cost a quarter to a half of a standard check when they fail.
Why this tier: Google recommends hyphens between words; changing old addresses for this rarely pays.
It is judged on every page Rubric scores.
Every Rubric score starts at 100. When this check fails, it takes up to 3 points off. Even one failing page costs at least 1.5 points (half of the most), and the rest comes off as the share of affected pages grows. A warning costs less than a failure.
This is one of 7 URL checks. Together they can take off at most 12 points, so a site isn't marked down many times for one kind of problem.
All the minor checks share one limit: together they can take off at most 25 points, however many of them fail.
This check doesn't cap your score. It only takes off its own points.
From the engine's scoring files, scoring 2026-v2.1 (engine d5c591d).
How common it is
Found on 18 of 300 sites where Rubric could judge it (6.0%). That is 18 of 287 judged sites in Rubric's 313-site test set and 0 of 13 sites audited on Rubric between 11 Nov 2026 and 17 Nov 2026 under the current check rules (scoring 2026-11k or later). Measured 17 Nov 2026 with scoring 2026-v2.1.
How accurate the check is
Lab test: passed. On test pages built with this problem, it caught 2 of 2. On clean test pages, it stayed quiet 1 of 1 times. (Engine build bbcec7c.)
Real sites: people checked 33 of its findings by hand and 10 were wrong (30%). Last checked 14 Nov 2026.
Holdout test 5 (sites the check had never seen): 0 of 9 findings judged wrong.
Lab as of 16 Nov 2026; judged findings as of 15 Nov 2026.
How to fix it
WordPress
- WordPress builds slugs with hyphens. Underscores usually come from slugs typed by hand or from uploaded file names.
- For new posts, check the Permalink in the post's settings panel before you publish.
- Leave existing URLs as they are unless you're already moving them, and add a 301 redirect if you do.
Shopify
- Shopify builds handles with hyphens. Underscores come from handles edited by hand or imported from another platform.
- For new items, check the URL handle under Search engine listing > Edit.
- If you change a live handle, keep Create a URL redirect ticked.
Webflow
- Webflow builds slugs with hyphens from page and item names.
- For imported CMS items, check the Slug column in your CSV before you import.
- If you change a live slug, add a 301 redirect in Site settings > Publishing > 301 redirects. Publish.
Custom code
Use hyphens in new slugs:
https://example.com/guides/blue-running-shoesIf you do migrate old URLs, map each one to its new address with a 301 redirect.