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. Web Design
    4. Is there any difference in using an underscore vs. a dash in the directory portion of the url?

    Is there any difference in using an underscore vs. a dash in the directory portion of the url?

    Web Design
    3 3 1.5k
    • 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.
    • RobertFisher
      RobertFisher last edited by

      A friend who is a software developer asked this question regarding the directory portion of the url: Is it better to use dashes or underscores? I know in the domain name Matt Cutts recommends dashes, but what about the directory extension?

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

        Hyphens are always best! Good luck.

        1 Reply Last reply Reply Quote 2
        • eyepaq
          eyepaq last edited by

          As far as I know underscores are not seen as separators so that means two words with an underscore between will be tagged as one word.

          My personal suggestion is to avoid underscores as much as possible. All separators are good beside underscores.

          We work a lot with hyphens and the results are good.

          Hope it helps !

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Is there a way to host my website.com/BLOG URL PATH from a different host than my main website.com host?
            ThompsonPaul
            ThompsonPaul
            0
            6
            53

          • What does they use?
            Felip3
            Felip3
            0
            3
            196

          • Using (duplicate) content in different contexts
            LynnPatchett
            LynnPatchett
            0
            6
            110

          • The impact of using directories without target keyword on our Rankings
            NielsB
            NielsB
            0
            3
            119

          • Can you use a base element and mod_rewrite to alleviate the need for absolute URLs?
            0
            1
            146

          • For URLS, better to use folders or long file names?
            KaneJamison
            KaneJamison
            0
            4
            1.1k

          • The use of foreign characters and capital letters in URL's?
            ASOS
            ASOS
            0
            2
            2.8k

          • How to serve a Mobile & Full Site using one URL?
            AlanMosley
            AlanMosley
            0
            8
            2.2k

          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