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. Underscore or Hyphen

    Underscore or Hyphen

    Web Design
    8 5 517
    • 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.
    • HMCOE
      HMCOE last edited by

      I've heard a lot of conflicting views on this.

      Some SEO gurus consult to use _ (underscore) whenever you need to use words like "for" "and" "to" when defining keywords in URL structure.

      Others say to use - (hyphen) in everything

      Others say not to use the connecting words (to, for, and) at all

      What would you recommend?

      1 Reply Last reply Reply Quote 0
      • eli.boda
        eli.boda last edited by

        I would recommend hyphens in all cases.

        this video from matt cutts is from 2011 and from what i know still applies http://youtu.be/AQcSFsQyct8

        HMCOE 1 Reply Last reply Reply Quote 2
        • ThompsonPaul
          ThompsonPaul last edited by

          Hyphens are preferred for separating words, as the video Eliathah mentions shows.

          In addition, there is no point in including "stop words" (prepositions, conjunctions like to, and, for etc) in your URLs. They provide no additional clues to the user or search engine what the URL is about, and just make it unnecessarily longer.

          Paul

          HMCOE 1 Reply Last reply Reply Quote 0
          • HMCOE
            HMCOE @ThompsonPaul last edited by

            Do you have some proof/case studies for this comment?

            "In addition, there is no point in including "stop words" (prepositions, conjunctions like to, and, for etc) in your URLs. They provide no additional clues to the user or search engine what the URL is about, and just make it unnecessarily longer."

            1 Reply Last reply Reply Quote 0
            • HMCOE
              HMCOE @eli.boda last edited by

              The video is a year old... Call me "skeptical" that it's still valid. But definitely a good watch. Thanks!

              eli.boda HDI 2 Replies Last reply Reply Quote 0
              • KevinBudzynski
                KevinBudzynski last edited by

                I think the key is to be consistent. If you use hyphens, always use hyphens and so on.

                If you google this:

                site:google.com inurl:and

                You can clearly see that Google does include "and" in the url. Is it good or bad? No one but Google knows the answer to this...

                1 Reply Last reply Reply Quote 0
                • eli.boda
                  eli.boda @HMCOE last edited by

                  i cant find anything more recent that says otherwise. i also know that most sites use hyphens rather than underscores, so what reason would google have to make underscores their preferred structure? i dont think using underscores will necessarily hurt you, but if you want to be safe, just run with the pack on this.

                  1 Reply Last reply Reply Quote 1
                  • HDI
                    HDI @HMCOE last edited by

                    So, we all know that The big, huge, over-arching idea is that Google ranks sites based on what they believe is best for the end user.

                    With the video that Eliathah posted and taking into consideration which URL structure would be easier for a user, I think hyphens are a clear correct answer.

                    Hyphens are easier for users to type (b/c they remove the step of using the 'Shift' key), therefore they're more user-friendly, therefore they're more SEO friendly. No?

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Reducing cumulative layout shift for responsive images - core web vitals
                      Arun.Das
                      Arun.Das
                      2
                      4
                      74

                    • How effective the site is on SEO
                      omidmada2a
                      omidmada2a
                      0
                      5
                      65

                    • Migration from HTML to Wordpress - SEO Implications?
                      Adlanera
                      Adlanera
                      0
                      10
                      1.0k

                    • Can anybody recommend a good UK based SEO
                      Adlanera
                      Adlanera
                      0
                      16
                      271

                    • What is the longest you would go back to ressurrect links that should have been 301's?
                      Linda-Vassily
                      Linda-Vassily
                      1
                      19
                      169

                    • Should i not use hyphens in web page titles? Google Penalty for hyphens?
                      MarieHaynes
                      MarieHaynes
                      0
                      5
                      2.3k

                    • ?3dCart, Magento, Volusion, Zen Cart? Looking for recommendations based on my situation.
                      Njnbiure45r4
                      Njnbiure45r4
                      0
                      26
                      5.4k

                    • Is there any difference in using an underscore vs. a dash in the directory portion of the url?
                      eyepaq
                      eyepaq
                      0
                      3
                      1.5k

                    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