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. On-Page / Site Optimization
    4. Is using hyphens in a URL to separate words good practice?

    Is using hyphens in a URL to separate words good practice?

    On-Page / Site Optimization
    5 4 14.2k
    • 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.
    • StoryScout
      StoryScout last edited by

      Hi guys,

      I have a client who wants to use a hyphen to separate two words in the URL to make each work stand out.

      Is is good or bad practice to use a hyphen in a URL and will it affect rankings?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Linda-Vassily
        Linda-Vassily last edited by

        Hyphens are definitely a good idea. They make the URL easier to read and more user-friendly. (See more about it from Webmaster Tools Help here.)

        "Consider using punctuation in your URLs. The URL http://www.example.com/green-dress.html is much more useful to us than http://www.example.com/greendress.html. We recommend that you use hyphens (-) instead of underscores (_) in your URLs."

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

          Agree with what LindaLV has said, but want to be sure you're not talking about a domain name. Hyphens used when referencing a file or folder name is good. Hyphens in a domain name is less than ideal.

          So, for example,

          http://www.domainname.com/folder-name/file-name.html is good,

          http://www.domain-name.com/foldername/filename.html is not so good.

          Domain names should be short, memorable, preferably branded, and use no special characters.

          Linda-Vassily 1 Reply Last reply Reply Quote 2
          • Linda-Vassily
            Linda-Vassily @DonnaDuncan last edited by

            Yes, no hyphens in the domain name. Thanks for clarifying, Donna.

            1 Reply Last reply Reply Quote 1
            • MoosaHemani
              MoosaHemani last edited by

              Just to be clear, here we are talking about URLs and not the domain name because when it comes to domain name my personal advice is not to go fir hyphens as this is not a common practice plus its usually a practice of spammers to use shady domain names.

              As far as URLs are concern it’s a wonderful idea as Lina said they are better than underscores.

              Hope this helps!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
                mrkingsley
                mrkingsley
                2
                12
                96

              • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
                0
                1
                171

              • Using Hidden Text Behind the Logo as H1 is good seo practice?
                Chris_Hickman
                Chris_Hickman
                0
                3
                3.1k

              • What word should I use in my URL for my blog
                Toddfoster
                Toddfoster
                0
                3
                253

              • Why do I have 2 different URL's for the same page - is this good practice?
                Faye234
                Faye234
                0
                13
                4.8k

              • Better to hyphenate URL or no?
                George.Fanucci
                George.Fanucci
                0
                4
                173

              • URL best practices
                JohnHuynh
                JohnHuynh
                0
                4
                151

              • How to use good keyword URL to help main site
                WhatsApp_Gold_APK
                WhatsApp_Gold_APK
                1
                5
                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