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
-
Domain Name redirection to new Domain Name - VS - Transfering Domaine Name from account 1 to account 2
Hi there! Thanks for your time 😉 I have a new cutsomer that bought his domain name via WIX and your know... WIX sucks huge time for SEO. Basically, we want to do SEO outside of WIX. But I am not sure HOW I should proceed. I think I have 2 options: OPTION 1- We transfer the domain name from WIX to a new hoster. But we will lose 7 days during that, lose prospects while the website is in maintenance and we might lose the little bit of ranking we have on the way. BUT! ONCE Everything is done with the transfer, we will be able to operate our SEO campaing with a Domain Name that as 15 domain authority, links, little bit a ranking, etc. OPTION 2- I just buy a new domain name. I build the new Website on it and then use the SEO juice from the old domain name with redirect to push the new domain name. Like this, I won't lose any opportunities. BUT I will have to restart the SEO as new... Any tips or ideas for me? Maybe there is an OPTION 3 that I don't know about.
Intermediate & Advanced SEO | | Gab-SEO1 -
Hacked website - Dealing with 301 redirects and a large .htaccess file
One of my client's websites was recently hacked and I've been dealing with the after effects of it. The website is now clean of malware and I already appealed to Google about the malware issue. The current issue I have is dealing with the 20, 000+ crawl errors which are garbage links that were created from the hacking. How does one go about dealing with all the 301 redirects I need to create for all the 404 crawl errors? I'm already noticing an increased load time on the website due to having a rather large .htaccess file with a couple thousand 301 redirects done already which I fear will result in my client's website performance and SEO performance taking a hit as well.
Intermediate & Advanced SEO | | FPK0 -
Do I need to put the company name in the SEO Title box in Yoast?
I am optimizing Title Tags for a WP site. I am getting ready to add keywords to the Yoast SEO. I noticed the long company name is currently the Title Tag - I choose 2-3 keyword phases per page- what do I do with the long business name? In my own site I can post up 70 characters of keywords in the Title box and my company name appears after a pipe in the browser with my the keywords ahead of it? As Follow on my Site: Title, Tilte, Title - Company Name. Thank you! Joe
Intermediate & Advanced SEO | | Joseph.Lusso1 -
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 -
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 -
Benefit of Targeting Low/No Volume Keyword Phrases
Hi Folks, I was having a discussion with a friend and colleague of mine yesterday about the pros and cons of targeting keyword phrases that have very little if any search volume. I was of the opinion that if the keyword phrases (whether they were local or not) did not have any search volume as indicated by Google's Keyword Planner tool, then they had little if any value. Would this be a correct assumption? Or is there merit to targeting these phrases in order to begin to build a picture of a sites overall subject matter and to help rank in local search? For example, say there is a phrase like 'second hand clothing slough' (just a random phrase) which has no search volume but 'second hand clothing' has 2400 visits a month, would it be worth targeting the search phrase with no volume to build a better local profile, so that if someone in Slough searches for 'second hand clothing' the site shows up for that keyword? Thanks in advance guys! Gareth
Intermediate & Advanced SEO | | PurpleGriffon0 -
Redirects in .htaccess file
I am using yoast seo plugin for wordpress. I have done several link changes and placed approximately 80-100 301 redirect into .htaccsses file. Is this good practice? Do they have to be there forever? Is it not slowing down site? Or should this be done in different way? Thank you very much Iris
Intermediate & Advanced SEO | | Rebeca10 -
Branded Searches -- Should I Name My Products Differently?
I know that branded searches are a large component of whether sites were hit by Panda or not, and I wonder if moving forward, I should always include the name of my site (domain) in the name of the product. For example, if I have a product with a unique name such as 'history maps' should I change the name to include my brand name, i.e '[domain] history maps'? Or, if users search for the unique product name, is that sufficient?
Intermediate & Advanced SEO | | nicole.healthline1