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. Should I replace underscores in page file names with hyphens?

    Should I replace underscores in page file names with hyphens?

    Intermediate & Advanced SEO
    5 3 864
    • 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.
    • lbohen
      lbohen last edited by

      Many of the 1000s of pages at our Web store that were established several years ago but still relevant today have underscores separating words in page file names. For example: http://www.audiobooksonline.com/whats_new_compact_disc_audiobooks_audio_books.html

      Should I replace the underscores with hyphens like this:

      http://www.audiobooksonline.com/whats-new-compact-disc-audiobooks-audio-books.html

      or should I duplicate pages with underscores using hyphens and have the older pages with underscores 304 re-directed to the new pages with hyphens?

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

        Check out the attached video.

        If it were me, I would look at the link profile of the pages that could potentially change and, assuming I didn't find something that told me to just keep it as is, I'd make the change and then 301 all of the underscored URLs to the rewritten URLs.

        watch?v=Q3SFVfDIS5k

        Cyrus-Shepard 1 Reply Last reply Reply Quote 1
        • Cyrus-Shepard
          Cyrus-Shepard last edited by

          Hi Larry,

          Truth be told - I would leave them alone.

          It's true that Google treats underscores differently than dashes - or at least they did as recently as 2011. In this Webmaster Video, Matt Cutts explains that underscores act as a "joiner" - joining the two words together.

          http://www.youtube.com/watch?feature=player_embedded&v=AQcSFsQyct8

          But he also states that it's a minor effect, that's it's not worth changing if you don't have to.

          I happen to agree with Matt on this. Changing your urls and/or redirecting them usually doesn't cause much problems, but in certain cases it can have a negative effect on your SEO, resulting in a loss of traffic and rankings. We generally advise folks not to change your URLs unless you have to - and in this case you don't have to.

          CAVEAT: The only situation I would actually advise you to make this change is if you were overhauling your website/CMS and had to change your URL structure anyway. In this situation it would make sense, and you would want to redirect the old URLs via 301 to the new structure.

          Hope this helps! Best of luck with your SEO.

          1 Reply Last reply Reply Quote 2
          • Cyrus-Shepard
            Cyrus-Shepard @EricPratum30 last edited by

            Shoot, I just realized I linked to the same video. Thumbs up for that. 🙂

            EricPratum30 1 Reply Last reply Reply Quote 1
            • EricPratum30
              EricPratum30 @Cyrus-Shepard last edited by

              No worries. And, I agree with you on the drawbacks. I know I've made changes like this before and caused more problems than I think I had in the first place 😉

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Parking page for domain names
                GlobeRunner
                GlobeRunner
                0
                5
                529

              • Why has my home page replaced my sub-category page for set of keywords? Happened 2x in last 2 weeks for day or so only to fix itself. What is going on?
                Dr-Pete
                Dr-Pete
                0
                4
                208

              • Imange name and html page name same are count spammy contents ?
                MoosaHemani
                MoosaHemani
                0
                3
                202

              • FIle Names
                WhoWuddaThunk
                WhoWuddaThunk
                0
                2
                45

              • Is there a limit to images file names?
                RuthBurrReedy
                RuthBurrReedy
                0
                5
                11.9k

              • Should you replace the url on a damaged page and 301 to it ?
                Klarke
                Klarke
                0
                2
                284

              • Are there any benefits to having dashes in file names?
                SEOnut
                SEOnut
                0
                4
                812

              • All page files in root? Or to use directories?
                Theo-NL
                Theo-NL
                0
                7
                821

              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