Is using hyphens in a URL to separate words good practice?
-
Hi guys,
I have a client who wants to use a hyphen to separate two words in the URL to make each work stand out.
Is is good or bad practice to use a hyphen in a URL and will it affect rankings?
Thanks!
-
Just to be clear, here we are talking about URLs and not the domain name because when it comes to domain name my personal advice is not to go fir hyphens as this is not a common practice plus its usually a practice of spammers to use shady domain names.
As far as URLs are concern it’s a wonderful idea as Lina said they are better than underscores.
Hope this helps!
-
Yes, no hyphens in the domain name. Thanks for clarifying, Donna.
-
Agree with what LindaLV has said, but want to be sure you're not talking about a domain name. Hyphens used when referencing a file or folder name is good. Hyphens in a domain name is less than ideal.
So, for example,
http://www.domainname.com/folder-name/file-name.html is good,
http://www.domain-name.com/foldername/filename.html is not so good.
Domain names should be short, memorable, preferably branded, and use no special characters.
-
Hyphens are definitely a good idea. They make the URL easier to read and more user-friendly. (See more about it from Webmaster Tools Help here.)
"Consider using punctuation in your URLs. The URL http://www.example.com/green-dress.html is much more useful to us than http://www.example.com/greendress.html. We recommend that you use hyphens (-) instead of underscores (_) in your URLs."
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
-
Need advice on the better URL structure to go with
I am rebuilding our existing website on a new platform and need advice on which URL structure would be the most ideal. The following examples are of a product that we have with a very long page title. Not all of our products have titles this long, but enough of them do to cause some concern. I was also wondering if I should end the url with file type .html or if leaving it out is better. Thanks in advance! OPTION 1. this example just uses the root domain and the entire product title separated by dashes http://ewheels.nextmp.net/staggered-full-set-br-2-20x9-ace-alloy-aff01-metallic-silver-machined-face-flow-formed-br-2-20x10-5-ace-alloy-aff01-metallic-silver-machined-face-flow-formed OPTION 2. this example uses the crawl path as well as the entire product title http://ewheels.nextmp.net/wheels/ace-alloy-wheels/ace-alloy-aff01-metallic-silver-machined-face-flow-formed/staggered-full-set-br-2-20x9-ace-alloy-aff01-metallic-silver-machined-face-flow-formed-br-2-20x10-5-ace-alloy-aff01-metallic-silver-machined-face-flow-formed OPTION 3. this example uses the crawl path and just the part number at the end since the folders already contain all the keywords necessary http://ewheels.nextmp.net/wheels/ace-alloy-wheels/ace-alloy-aff01-metallic-silver-machined-face-flow-formed/ace-2090aff01silace-20105aff01sil
On-Page Optimization | | elementmotor0 -
Any benefit to using HeadSpace AND All in One?
I noticed that somewhere along the line (outside developer or SEO) I ended up with HeadSpace AND All in One on one of my WP sites. There are functions that I appreciate with both and I wonder if there is any danger to completing both forms for a post or page? Is there really any benefit or just a waste of time? I keep finding articles that compare the 2, but nothing that talks about using them together. If I get rid of All in One, …. WOW. Mid question, i realized I'm a dum-dum. All in One has the same no follow options I thought I would miss from HeadSpace. So new question…if I uninstall headspace, will I lose the data/settings that it was used to set up? Jenn
On-Page Optimization | | vernonmack0 -
How do I remove a Canonical URL Tag?
Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.
On-Page Optimization | | dealblogger0 -
How many times should a word appear in an article?
Hi My site is maily about growing fruit and vegetables and was badly hit after the September Panda update. Each page is about one type of fruit or vegetable and discusses how to grow that particular plant. Each page targets two keyword phrases, "growing abc" and "how to grow abc" so e.g. "Growing garlic: a guide on how to grow garlic" would be the page title and then the two phrases used a couple of times on each page. However the plant, in the above example "garlic" can appear upto 30 or 40 times per page, also the phrases "how to grow" and "growing" will appear on just about every page, would these facts be hurting my overall site rankings? Many Thanks Simon
On-Page Optimization | | spes1230 -
On Page Reports - Multiple URLs Appearing for a Keyword
Hello, I have a question regarding the on page reports automatically generated by seomoz When I look at my on page reports I notice that each keyword appears a number of times, each with a different url and then a grade for the on page report and sometimes a rank. I'm not sure I understand this, firstly I thought the on page reports were only generated for keywords in the top 50, does that mean the global top 50, or my top 50? Also why are they appearing for so many urls, I find this confusing and am not sure which pages to focus on improving, it's not always my intended pages that are ranking the best. I believe that I read somewhere that I can choose which pages to have the on page reports rank for, perhaps this is the solution? Any thoughts would be appreciated. Thanks, Iain
On-Page Optimization | | jannkuzel0 -
Slash at the end of a url
I keep reading contradicting information, so I figured I'll ask here. What's the best practice for slash '/' at the end of a URL? Should it be idealchooser.com/search/laptop/ or idealchooser.com/search/laptop (no trailing slash)? The options: 1. Accept both equally 2. Accept 1 and redirect the other with 301 3. Accept 1 and treat the other as a wrong URL returning 404 Which would be the best for SEO? Thank you.
On-Page Optimization | | corwin0 -
XML sitemap latest best practices?
If anyone optimised their sitemap recently and would like to share some tips it would be much appreciated:-) Cheers
On-Page Optimization | | dublinbet0