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
-
Is there any benefit to changing 303 redirects to 301?
A year ago I moved my marketplace website from http to https. I implemented some design changes at the same time, and saw a huge drop in traffic that we have not recovered from. I've been searching for reasons for the organic traffic decline and have noticed that the redirects from http to https URLs are 303 redirects. There's little information available about 303 redirects but most articles say they don't pass link juice. Is it worth changing them to 301 redirects now? Are there risks in making such a change a year later, and is it likely to have any benefits for rankings?
Intermediate & Advanced SEO | | MAdeit0 -
Large robots.txt file
We're looking at potentially creating a robots.txt with 1450 lines in it. This will remove 100k+ pages from the crawl that are all old pages (I know, the ideal would be to delete/noindex but not viable unfortunately) Now the issue i'm thinking is that a large robots.txt will either stop the robots.txt from being followed or will slow our crawl rate down. Does anybody have any experience with a robots.txt of that size?
Intermediate & Advanced SEO | | ThomasHarvey0 -
Recovering old disallow file?
Hi guys, We had aN SEO agency do a disallow request on one of our sites a while back. They have no trace of the disallow txt file and all the links they disallowed. Does anyone know if there is a way to recover this file in google webmaster tools or anyway to find which links were disallowed? Cheers.
Intermediate & Advanced SEO | | jayoliverwright0 -
Is there any benefit of having a .tv tld instead of a .com for a video centric website?
We are launching a video dense website. Is there any evidence that having a .tv tld can help with video optimization? We are trying to find proof that Google looks at a .tv tld favorably for video SEO as opposed to a .tv website.
Intermediate & Advanced SEO | | VanguardCommunications0 -
Meta canonical or simply robots.txt other domain names with same content?
Hi, I'm working with a new client who has a main product website. This client has representatives who also sells the same products but all those reps have a copy of the same website on another domain name. The best thing would probably be to shut down the other (same) websites and redirect 301 them to the main, but that's impossible in the minding of the client. First choice : Implement a conical meta for all the URL on all the other domain names. Second choice : Robots.txt with disallow for all the other websites. Third choice : I'm really open to other suggestions 😉 Thank you very much! 🙂
Intermediate & Advanced SEO | | Louis-Philippe_Dea0 -
What is the difference between link rel="canonical" and meta name="canonical"?
Hi mozzers, I would like to know What is the difference between link rel="canonical" and meta name="canonical"? and is it dangerous to have both of these elements combined together? One of my client's page has the these two elements and kind of bothers me because I only know link rel="canonical" to be relevant to remove duplicates. Thanks!
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Keyword weight in Domain Name
Hi All, I'm looking for some advice on URL structure. Our domain name includes 1/2 of many keyword strategies that we're considering. For example our domain is like, dive.com Keyword strategies that we're looking at targeting would include things like, "dive shop", "dive equipment" etc etc Are we competitive to have a structure like this? dive.com/shop/ dive.com/equipment/ Or will this structure yield stronger results? dive.com/dive-shop/ dive.com/dive-equipment/ Your thoughts are appreciated. Thanks! Malcolm
Intermediate & Advanced SEO | | MAGNUMCreative0 -
Ranking for our member's company names without giving them all away!
Hi, We have a directory of 25,000 odd companies who use our site. We have a strong PR site and want to rank a page for each company name. Some initial testing on one or two company names brings us to #2 after the company's own web site in the format: "Company Name Reviews and Feedback" - so it works well. We want to do this for all 25,000 of our members, however we do not wish to make it easy for our competitors to scrape through our member database!! e.g. using: www.ourdomain.com/randomstring/company-name-(profile).php unfortunately with the above performing a search on google for site:domain.com/()/()(profile).php would bring up all records. Are there any tried and tested ways of achieving what we're after here? Many Thanks.
Intermediate & Advanced SEO | | sssrpm0