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. Intermediate & Advanced SEO
    4. Is it worth switching from underscores to hyphens in the URL?

    Is it worth switching from underscores to hyphens in the URL?

    Intermediate & Advanced SEO
    6 4 454
    • 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.
    • MarloSchneider
      MarloSchneider last edited by

      I work for a website that recently did a redesign, and switched from hyphens to underscores. We have seen some drop in traffic, although that may be attributed to the migration.

      I have read that while Google prefers hyphens, the underscore problem is not as much of an issue as it used to be.

      Is it worth 301'ing the page to a version of itself with hyphens instead of underscores in the URL?

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

        You said it used to be hyphens and then was changed to underscores. if this was done recently then change it back and don't bother 301'ing unless you got a decent amount of links in that time period. i am assuming you 301'd the hyphens to the underscores, if so you need to undo that was well.

        MarloSchneider 1 Reply Last reply Reply Quote 0
        • danatanseo
          danatanseo last edited by

          Hyphens vs underscores doesn't make a difference any more. If you're purely thinking of making the change for SEO purposes, I wouldn't do it. I agree that the drop in traffic you are seeing has more to do with replatforming and rewriting all of your URLs. This is pretty normal. Hope that helps!

          1 Reply Last reply Reply Quote 2
          • MarloSchneider
            MarloSchneider @irvingw last edited by

            Sorry, let me clarify. By used to I mean before the domain was migrated over. So it was hyphens on the old site, but was changed to underscores on the new site.

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

              The drop in traffic isn't because Google prefers hyphens, it's because all your page URLs changed. You had a bunch of web pages that Google knew about, were in its index, and now they're gone. You now have a  bunch of new pages that have to start building trust and authority from scratch.

              I'd change them back to dashes, then set up 301 redirects for all the underscore versions.

              danatanseo 1 Reply Last reply Reply Quote 2
              • danatanseo
                danatanseo @Whitespark last edited by

                Darren is absolutely right. However, it seems unclear as to whether or not you set up 301-redirects from your old URLs to your new URLs. If you did, then the drop should only be temporary as Google figures out where the new URLs are and the old authority is passed to the new pages (or at least most of it). If you didn't do any 301-redirects, and you still have access to a spreadsheet or sitemap of your old URLs I'd encourage you to set up 301 redirects as soon as possible. Otherwise, it will indeed be like starting completely over with a new site, regardless of hyphens or underscores.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Why a certain URL ( a category URL ) disappears?
                  RossKernez
                  RossKernez
                  0
                  2
                  29

                • Switching URLs after acquisition to retain domain authority?
                  ViviCa1
                  ViviCa1
                  0
                  6
                  435

                • Underscores, capitals, non ASCII characters in image URLs - does it matter?
                  randfish
                  randfish
                  0
                  4
                  608

                • Is 1:1 301 redirect required on indexed URL when restructing URL even if the new URL is canonicalized?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  2
                  138

                • Switching Url
                  ChadEisenhart
                  ChadEisenhart
                  0
                  5
                  126

                • We will be switching our shopping cart platform from volusion to magento and really cautious / nervous about our rankings / seo stuff. any advice for anyone that has migrated stores, etc. these urls are years old, etc.
                  danatanseo
                  danatanseo
                  0
                  2
                  233

                • URL formating is it worth changing?
                  gfiorelli1
                  gfiorelli1
                  0
                  3
                  657

                • When using ALT tags - are spaces, hyphens or underscores preferred by Google when using multiple words?
                  gravymatt-se
                  gravymatt-se
                  2
                  9
                  29.0k

                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