In short
Semrush flags "Pages have underscores in the URL" because Google recommends hyphens to separate words in URLs. Use hyphens for all new URLs. For existing pages that rank, changing the URL means a redirect and a short settling period, so only do it during a planned restructure.
This is a low-priority warning. The fix is easy for new pages and optional for old ones.
Decide
| Situation | Action |
|---|---|
| New page or a page not yet indexed | Use hyphens |
| Low-traffic old page | Change and 301 redirect, if convenient |
| Ranking page with backlinks | Leave it, or change during a planned migration |
If you change URLs
Update the slug.
301 redirect the old URL to the new one.
Update internal links, canonicals and the sitemap.
WordPress: permalinks use hyphens by default; underscores come from typed slugs or uploaded file names. Shopify, Webflow and Wix: slugs generate with hyphens; check hand-typed ones. Custom builds: slugify titles with hyphens.
This guide isn't affiliated with or endorsed by Semrush.
Related issues
Sources and references
Semrush Knowledge Base, What Issues Can Site Audit Identify?
Google Search Central, URL structure best practices for Google

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



