The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Should I rename URLs to use hyphens instead of underscores?

    Should I rename URLs to use hyphens instead of underscores?

    Technical SEO Issues
    7 4 665
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nyc-seo
      nyc-seo last edited by

      Hello.

      We are about to launch a redesigned and significantly expanded site that has traditionally used underscores as separators between words in its URLs.

      Would you recommend replacing all the underscores with hyphens? That would then require many 301 redirects to maintain any links that might be out there.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • NakulGoyal
        NakulGoyal last edited by

        If you are just doing a redesign that does not entail any URL changes, I would suggest keep them as is.

        On a side note, how are you ranking compared to your competition ?

        You could potentially test 1-2 pages on your site, change _ to - and see if it makes any difference. And yes, you would need to do 301 redirects and that would pass most (not all) of your link juice. It can and still work fine. So before you do something like this on a large scale, test it on a small scale if you can.

        It also depends on how much authority your site has in Google ? Do your breadcrumbs show up in Google SERPS ? And so on.

        I hope this helps you come to the right conclusion.

        nyc-seo Dr-Pete 2 Replies Last reply Reply Quote 1
        • nyc-seo
          nyc-seo @NakulGoyal last edited by

          Thanks, Nakul!

          1 Reply Last reply Reply Quote 0
          • NitinRGoyal
            NitinRGoyal last edited by

            You should use a hyphen for your SEO URLs. Google treats a hyphen as a word separator, but does ****nottreat an underscore that way. Google treats underscore as a word joiner — so seo_moz is the same as seomoz to Google. In fact using dashes over underscores will have a (minor) ranking benefit.

            Also Note that 301 redirects passes 90%-99% value to redirected link so earlier you do it the better.

            Hope it makes sense.

            nyc-seo 1 Reply Last reply Reply Quote 1
            • Dr-Pete
              Dr-Pete @NakulGoyal last edited by

              I'd tend to agree with Nakul on proceeding with caution - while Google doesn't necessarily treat "_" as a word separator, the URL is just one relatively small ranking factor. There are many risks in a site-wide 301-redirect, especially when you're redesigning. If the redesign runs into SEO trouble, you're not going to be able to separate the many changes, and that could delay fixing any problems.

              The exception would be if you're planning to change a lot of the URLs anyway, as part of the redesign. Then, I'd go ahead and do it all at once. Hyphens are a nice-to-have - I'm just not sure that, practically, the risks outweigh the rewards. It does depend a lot on how you're currently ranking and whether the URLs are causing you any major headaches.

              nyc-seo 1 Reply Last reply Reply Quote 1
              • nyc-seo
                nyc-seo @Dr-Pete last edited by

                Thank you very much, Peter!

                1 Reply Last reply Reply Quote 0
                • nyc-seo
                  nyc-seo @NitinRGoyal last edited by

                  Thank you, Nitin.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Use existing page with bad URL or brand new URL?
                    XLMarketing
                    XLMarketing
                    0
                    5
                    47

                  • What is the risk of changing underscores to hyphens in URLs that are ranking
                    OlegKorneitchouk
                    OlegKorneitchouk
                    0
                    3
                    1.1k

                  • What are the SEO implications of URLs that use a # in them?
                    irvingw
                    irvingw
                    0
                    5
                    546

                  • How do I use only one URL
                    Weblion
                    Weblion
                    0
                    7
                    476

                  • Not sure which URL to use for 301 redirect
                    CeCeBar
                    CeCeBar
                    0
                    7
                    435

                  • Trailing Slashes In Url use Canonical Url or 301 Redirect?
                    RyanKent
                    RyanKent
                    0
                    7
                    2.7k

                  • Using hyphenated sub-domains or non-hyphenated sub-domains? What is the question! I Any takers?
                    dcmike
                    dcmike
                    0
                    11
                    5.5k

                  • Should I use www. or not in my main URL?
                    Thos003
                    Thos003
                    0
                    7
                    3.4k

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  • Digital Marketers
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy