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

          • Using Button Links vs Sidebar Menu
            RobCairns
            RobCairns
            0
            2
            254

          • Can the design still be considered adaptive if the URL is different?
            Adriaan.Multiply
            Adriaan.Multiply
            0
            6
            74

          • Shortened URL is breaking when URL is in Upper Case
            sergeystefoglo
            sergeystefoglo
            0
            2
            265

          • Interlinking using Dynamic URLs Versus Static URLs
            vivekrathore
            vivekrathore
            0
            5
            336

          • For a real estate website, is a different mobile site warranted vs a responsive site?
            KristinaKledzik
            KristinaKledzik
            0
            7
            221

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

          • Using "#" anchors to display different content
            joseph.chambers
            joseph.chambers
            0
            3
            583

          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