Are there any benefits to having dashes in file names?
-
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.
-
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 -
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
-
-
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.
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SEO benefits/drawbacks of physical address on site.
Simple question - how much of an SEO impact does NOT having a physical address on your site make? I run a photography business based from home. For security reasons I don't really want our home address easily available to the public. I have a Google Maps listing (actually seem to have two at the moment, but that's a different matter) and the full address is logged there but is not viewable publicly - just the surrounding area. Any thoughts would be appreciated.
Intermediate & Advanced SEO | | robandsarahgillespie0 -
Ranking for a brand term with "&" (and) in the name?
Hello Moz community. We have a company that rebranded their name to "Bar & Cocoa" with the URL https://barandcocoa.com/. It's been about 3 months, and the website has yet to show up organically anywhere within the first 50 results foer their brand terms. It seems that Google pretty much ignores the "&" or "and" word when typing in bar & cocoa, or bar and cocoa in search. You'd think with that with the exact domain name, it would at least move the needle a bit, but it has not helped. Even being in Denver, I'm getting results for a "Bar Cocoa" business located in Charlotte, NC, and the secondary pages that belong to that business, and then a bunch of other companies, products and irrelevant search results (like a parked domain)! Any suggestions or ideas, please help!
Intermediate & Advanced SEO | | flowsimple1 -
How to target for misspelled Brand name searches
Hi to all the SEO experts here, I am working on SEO of my 4 months old website. For example, its 'abz.com'. We like the brand name 'abz' for the business and we are able to SEO well for keyword 'abz'. However, we would also like to target for the keyword 'abc'. There are 2 reasons for that: 'abc' is an actual word. So there is a possibility that our users may type 'abc' instead of 'abz' to reach us. For 'abc', the top result is 'abct.us', which is a site of adult in nature. Also our website doesn't feature at all in the results. This is hitting us hard in terms of or brand visibility. So the questions are: How to feature in results of keyword search of 'abc'? Will the following approach work: Buying an available domain 'abc.co.in', and use it to feature in 'abc' results and 301 redirect to 'abz.com' Having 'abc' in the page meta (title and description). This is hard for us, since we need to rethink our taglines and copyrights. 2. If we search for 'abz', Google says "Do you mean abc". Is there a way to not have this suggestion? It would helpful to have some more ideas for this problem.
Intermediate & Advanced SEO | | manasag0 -
Question about robots file on mobile devices
Hi We have a robots.txt file, but do I need to create a separate file for the m.site or can I just add the line into my normal robots file. Ive just read the Google Guidelines (what a great read it was) and couldn't find my answer. Thanks in Advance Andy
Intermediate & Advanced SEO | | Andy-Halliday0 -
Rebranding/Changing the name of an established domain in order to target a bigger market?
So let's say I have a site called "ToyotaParts.com" that has good SEO metrics and is ranking highly for keywords like "toyota tires", "toyota battery", etc.... What if I decide that I wanna target other cars as well with my site and keywords like "mazda tires", yet still want to take advantage of my domain's existing authority... Can I do something like get a new domain like "carparts.com" and redirect the old domain to it and then continue to create new pages that would target new keywords, or would I risk losing my current domain's authority or running into other seo issues? Thanks a lot
Intermediate & Advanced SEO | | benjonson0 -
Target keyword still in domain name?
Target keyword still in domain name? getting domain name same as keyword still work for SEO ?
Intermediate & Advanced SEO | | innofidelity0 -
How to show country name in google search result
I have a site with tld .com but my target country is United kingdom so i want to show United Kingdom in SERPs.How can i show it ? I have already set target country United Kingdom in Webmaster tools but still it is not showing.
Intermediate & Advanced SEO | | Alick3000 -
New domain name for existing site
Hi all, Our business has aquired a new domain name because there are several organisations closely related to ours that use similar domain names to target a niche group of users. We would like to use this new domain name to link to an existing website with content targeted at this user group as we feel that they will be more comfortable getting to the content via this new URL. After a useful search in these forums the majority of SEOMOZ gurus suggest that the new URL should be redirected to our current site using a 301 and we are happy to do this. However do we have to link the URL to our homepage or is it acceptable to link to a subfolder within the domain and then targeting content on this page to the user niche? Thanks for any input. Kind regards. Edit 11:38 The old url is oldcommunity.charity.com (we know having a subdomain is bad) this is where we manage all community engagement. The new url is www.newparticularcommunity.com and we would redirect this to oldcommunity.charity.com. The reason we have bought www.oldparticularcommunity.com is because the url is used by other charities for community engagement and is recognised by the community we are targeting. We are redirecting to our old site because we do not want to engage with them on this new url as our old site oldcommunity.charity.com already does this and can cater for the new community and perhaps they haven't realised that we can.
Intermediate & Advanced SEO | | tgraham0