Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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 ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Url shows up in "Inurl' but not when using time parameters
 Hey everybody, I have been testing the Inurl: feature of Google to try and gauge how long ago Google indexed our page. SO, this brings my question. If we run inurl:https://mysite.com all of our domains show up. If we run inurl:https://mysite.com/specialpage the domain shows up as being indexed If I use the "&as_qdr=y15" string to the URL, https://mysite.com/specialpage does not show up. Does anybody have any experience with this? Also on the same note when I look at how many pages Google has indexed it is about half of the pages we see on our backend/sitemap. Any thoughts would be appreciated. TY! On-Page Optimization | | HashtagHustler1
- 
		
		
		
		
		
		Will changing a URL negatively affect ranking?
 Hello Mozzers, We would like to change the URL for a page on our website which ranks well for some our keyphrases/words. We are hoping the change of URL, through the addition of an additional keyword would help boost the rank of that URL further. At the moment out page gets 2 x A and 2 x B 1xF on the MOZ page rank tool using 5 keyphrase/word variations . One phrase ranks 4, one ranks 3 and the other 3 are 'not in the top 50' Our plan was to change the URL, using SHF404, and use 'Fetch' in the Google search console to re-submit the page to Google. Appreciate you can't give any guarantees how Google will behave, just wondered what your thoughts were on the wisdom of changing the URL in the first place? Thanks Ian On-Page Optimization | | Substance-create0
- 
		
		
		
		
		
		How important are clean URLs?
 Just wanting to understand the importance of clean URLs in regards to SEO effectiveness. Currently, we have URLs for a site that reads as follows: http://www.interhampers.com.au/c/90/Corporate Gift Hampers Should we look into modifying this so that the URL does not have % or figures? On-Page Optimization | | Gavo1
- 
		
		
		
		
		
		URL Path. What is better for SEO
 Hello Moz people, Is it better for SEO to have a URL path like this: flowersite.com/anniversary_flowers/dozen_roses OR flowersite.com/dozen_roses Is it better to have the full trail of pages in the URL? On-Page Optimization | | CKerr0
- 
		
		
		
		
		
		Url structure with dash or slash
 Hi There We have a content website. We don't rank well category image related searches but we get quite good traffic for those keywords. Those keywords are mostly like "category images". We want to change our url structure and we have 2 options now. 1- domain.com/category/category-images 2-domain.com/category/images option 1 repeats the category name so it looks spammy option 2 doesn't really have the keyword. any ideas which one tho choose? Thanks! ps: we don't want to use domain.com/category-images (too many root link) On-Page Optimization | | muminaydin0
- 
		
		
		
		
		
		Correct .htaccess settings for canonical url?
 I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on On-Page Optimization | | webbutler13
 rewritecond %{http_host} ^coolexample.com [nc]
 rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?0
- 
		
		
		
		
		
		Bullet points good or bad for seo?
 Hi Everyone, After a body of unique content of say 50 words, will Google then penalise you for adding bullet points which will then be duplicated across all those products (say 100 products)? http://www.polesandblinds.com/acacia-teal-roller-blind/? Look forward to your comments, good or bad, Thanks Jonathan On-Page Optimization | | JonnytheB0
- 
		
		
		
		
		
		Best Practice for Deleting Pages
 What is the best SEO practice for deleting pages? We have a section in our website with Employee bios, and when the employee leaves we need to remove their page. How should we do this? On-Page Optimization | | Trupanion0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				