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
-
Benefit of getting more then one link from a site?
Hi Guys, Is there any benefit (purely for SEO - link building) to getting more than one link from a domain if you already have 1? From my understanding, even if you had 100 links from a domain, that really counts as 1 for link authority. So from this, i don't see much point in getting more then 1 link. Is this a right assumption? Cheers.
Intermediate & Advanced SEO | | wozniak650 -
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 -
Brand name in title of posts?
Hi All,
Intermediate & Advanced SEO | | JohnPalmer
new question about my blog: in my posts title I have to add the brand? for example -
The title of the post | My Brand name
Or just the title without the brand? Because my post title too long and I know that Google show only the 60 characters. so it will show like this:
The long title of my post | My Brand n... (just for example) is it okay? or for 100% optimization I have to keep it 60 Characters and no more. What do you think? Is it bad for my brand? good?0 -
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 -
Proper naming convention when updating sitemaps
I have a semi-big site (500K pages) with lots of new pages being created. I also have a process that updates my sitemap with all of these pages automatically. I have 11 sitemap files and a sitemap index file. When I update my sitemaps and submit them to Google, should I keep the same names?
Intermediate & Advanced SEO | | jcgoodrich0 -
Should I replace underscores in page file names with hyphens?
Many of the 1000s of pages at our Web store that were established several years ago but still relevant today have underscores separating words in page file names. For example: http://www.audiobooksonline.com/whats_new_compact_disc_audiobooks_audio_books.html Should I replace the underscores with hyphens like this: http://www.audiobooksonline.com/whats-new-compact-disc-audiobooks-audio-books.html or should I duplicate pages with underscores using hyphens and have the older pages with underscores 304 re-directed to the new pages with hyphens?
Intermediate & Advanced SEO | | lbohen0 -
Duplicating an existing website - new name and reskin
Would re-skinning, duplicating an exising ecommerce website with a new domain name cause any ranking issues? The plan would be that all product data, pricing info etc would be identical, the site would have a minor redesign to change colours, logos etc and all duplicate content would be rel=canonicaled to the original site. In case you are wondering the reason for this is a customer with an existing site wants to try out a new brand without incorporating a massive development costs. The majority of traffic would be driving through google shopping, a bit of PPC, social etc. Is this site duplication likely to harm the original site or will setting up rel=canonical to point to the original site going to be sufficient enough to prevent this happening? Is there anything else is should consider? Many thanks for your help
Intermediate & Advanced SEO | | JustinTaylor880 -
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