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. Are there any benefits to having dashes in file names?

    Are there any benefits to having dashes in file names?

    Intermediate & Advanced SEO
    4 4 812
    • 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.
    • RyanWhitney15
      RyanWhitney15 last edited by

      Through searching, I can find lots of discussion regarding "dash vs underscore", but am having trouble with an even simpler question:

      Is there any SEO difference between using

      http://www.broadway.com/shows/milliondollarquartet.php

      vs.

      http://www.broadway.com/shows/million-dollar-quartet.php

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

        A smart robot can parse that out using algorithms called stemmers... But what about less sophisticated robots? Will ask.com or lesser known SE's get your keywords right without the dashes? What about a combination of words that can be separated in different ways to give different meaning?

        And what about human readers? Which is easier for you to read?

        Dashes and underscores are the URL equivalent of spaces. They help human readers and robot crawlers parse out what your URL is supposed to be.

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

          From what I've come to understand, dashes are seen as spaces by most search engines, so it helps to delineate your phrase.  milliondollarquartet would be seen as one word, while million-dollar-quartet would be seen as 3 and would be more readable by both users and search engines, and it would help you get some SEO juice for the phrase, while milliondollarquartet would probably not be searched upon.

          That having been said, I'm still fairly new to SEO, so hopefully you'll get more answers.  But that's been my understanding thus far. Â đŸ˜ƒ

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

            A lot of coders like giving filenames underscores rather than dashes, because when you select (doubleclick) a filename_like_this all the text is selected, whereas a filename-like-this may only have part of it highlighted - so to me, an underscore is more akin to 'treat this like a word' and a dash is 'treat this like a space' - and either is better than %20!

            For SEO though, the dash=space is worth it where:

            • the URL string is long (thisisnotaseasytoread in the address bar, this-is-much-easier-to-comprehend) - I think that helps users, which in turn signals to Google that you're being helpful

            • if the concatenation of the words would be confusing to a stemming programme - see here for examples http://independentsources.com/2006/07/12/worst-company-urls/

            • if someone wanted/had to manually type a url, a dash is quicker/easier as you don't need the shift key (which you do for an underscore)

            • if someone shares (pastes) a raw, long URL, with dashes in you have a chance it will wrap in a blog or wherever -

            reallylonglinkswithnospacesendupstickingoutofthesidesofablogandlookuglyandannoyingandlessprofessional

            that looks dreadful, whereas you might get away with high-on-the-hill-stood-a-lonely-goatherd

            • I find that it also helps with link-naming consistency, it's easier for you to spot your own typos or linking errors (so fewer 404s to hunt down)

            Sorry, must dash đŸ™‚

            1 Reply Last reply Reply Quote 2
            • 1 / 1
            • First post
              Last post
            • Domain Name redirection to new Domain Name - VS - Transfering Domaine Name from account 1 to account 2
              1
              1
              38

            • Would changing the file name of an image (not the alt attribute) have an effect of on seo / ranking of that image and thus the site?
              DirkC
              DirkC
              0
              4
              5.6k

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

            • FIle Names
              WhoWuddaThunk
              WhoWuddaThunk
              0
              2
              45

            • Can we have differnt Domain name and Busienss name?
              MiriamEllis
              MiriamEllis
              0
              7
              145

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

            • Template Files .tpl versus .html files
              0
              1
              1.7k

            • New Site: Use Aged Domain Name or Buy New Domain Name?
              NakulGoyal
              NakulGoyal
              0
              5
              875

            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