How many hyphens are allowed in page titles or image names?
-
When I was going through certification, I was told it should be limited to one or two. I was curious if there is a change.
-
Hi KP
There really is no limit but URL's with many hyphens tend to look spammy.
Remember the old days of long partial match URLs? www.cheap-car-insurance-for-u.com? and suchlike? They just look really crappy. If you really must use one in the TLD then limit it to one.
For Pages & Posts, it's quite common to see more use of hyphens. I'm editor at a music blog and it's quite common to see for example:
sitename.com/the-rolling-stones-manchester-live-review It looks natural even though there is a stop word in the URL because 'The' is actually part of the Stones' name
You will get a warning in Moz because of the long URL but it will not stop it ranking well, at all!
For images, it depends on how descriptive you want it to be. If the image was of Mick Jagger in Manchester then the image URL could easily be sitename**/mick-jagger-manchester-old-trafford** and then the Title or Alt text tag would be 'Mick Jagger - Manchester - Old Trafford, so highly descriptive with a couple of hyphens and great for image SEO.
So it's up to you really - the more descriptive the better. Ignore warnings of long URLs unless they are stupidly long and focus on enhancing the ranking of the page rather than worry about minutiae.
Now:
If you are talking about Meta Titles then it's common to use a variety of separators such as a hyphen (-) or a bar (|). In that case, it's fairly simple as you need Primary Keyword - Secondary Keyword - Sitename so they are often limited to just two.
I think the more you use them the less space there is for Keywords and it's important with a limited length (60-70 characters) to get those in as a priority. The hyphen takes up 3 characters so they are largely a waste of space.
I hope that helps
Regards Nigel
-
Hello there,
If you're talking about the name of image files such as jpg and png where hyphens are used as space (just like you did on page url), there's really no limit given by Google, so my advice would be not to over optimize those image files by stuffing your keywords in it (ie, keyword1-keyword2-keyword3-keyword4.jpg), just make it natural (puppy-food.jpg) instead.
As for Page Titles like Gaston suggested to use it as a separator (personally I prefer | or : ), and again there's no actual limit given by Google, but the key here is to make sure these are optimized for your visitor then only Google. Just make sure they're natural then you should be fine.
Hope this helps,
Joseph Yap
-
Hi there!
There is no such restriction on the amount of hyphens. Usually there are one or two, used as separators in titles. Never seen them in image titles.
Hope it helps.
Best luck.
GR.
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
-
With the release of so many domains from .expert through to even .xyz why don't we see many around the top of SERPS?
And should I use one of these to create a nice looking site, invest time, energy, resource, money or will I simply regret it later and stick to the main TLDs? First question on Moz (yey)
On-Page Optimization | | LGG1230 -
Page Title & Meta Description Getting Cut Off In The SERPs
Hi Guys, I am trying to figure out why my page titles and meta d tags are getting cut off in Goofle SERPS. My page titles are 70 characters or under (including spaces) and my meta Dd's are 155 characters or under (including spaces) so I cannot work out why They are getting cut off. Is there something I have missed?! Thanks, Meaghan
On-Page Optimization | | StoryScout0 -
Does Google penalize a page with the image tag with alt and without src?
Hi, I am curious whether Google penalizes a page with the image tag with a value in the "alt" attribute and without one in the "src" attribute? Would this count as stuffing? Sometimes you cannot put an image but you would like to get SEO benefit by having a keyword in an image?
On-Page Optimization | | Plivo0 -
Too Many on page links! Will "NoFollow" for navigation help?
I am getting to many on page links ( for all my pages). Here is my website: http://www.websterpowerproducts.co.uk I think it is to do with the the navigation bar down the right hand side. I don't really want to get ride of this as it offers users a way of getting where they want without lots of clicking. I was wondering if adding a "NoFollow" tag to each of they links would stop the link juice getting diluted by the navigation bar. Many Thanks
On-Page Optimization | | WebsterPowerTools0 -
How should I rephrase these pages to avoid Phrase duplication within Title Tags
How should I rephrase these pages to avoid Phrase duplication within Title Tags Duplicate Page Title Page1-http://organicfruitbasketsflorist.com/index-2.html Page2- http://organicfruitbasketsflorist.com/Fruit_Baskets_Organic_Fruit_Baskets_New_York_NY.html Page3- http://organicfruitbasketsflorist.com/Fruit_Baskets_Edible_Fruit_Baskets_New_York_NY.html Page4organicfruitbasketsflorist.com/Fruit_Baskets_Business_Fruit_Baskets_New_York_NY.html Page5-http://organicfruitbasketsflorist.com/Fruit_Baskets_Fresh_Flowers_Delivered_New_York_NY.html Page6-http://organicfruitbasketsflorist.com/Coupons.htmlAmi
On-Page Optimization | | amydiamond0 -
What's the best way to name an image for SEO?
Hi Guys,
On-Page Optimization | | krseo
I'm thinking about images and SEO. What's the best way for naming and using images in HTML Code? For example: Image-Name: keyword-keyword2-keyword3.jpg or keywordkeyword2keyword3.jpg ?
How many Keywords should I use max for a picture? And also do you use the alt tag as description of the image and the title tag or only the alt tag? If you use the title, what do you use it for? Maybe someone can copy a HTML-Code example for me 😉 Thank you 🙂
Alex0 -
Too Many On-Page Links
I recently took on a website design client and ran his website through a battery of tests using Pro to take a look at the crawl errors. One that seems to stump me is the error "Too many On-Page links" concerning his blog. (http://franksdesigns.com/wp/blog) This is the first time I've seen this error and am rather confused. The report says there are 104 links on this page. However, I'm having trouble grasping this concept or finding the 104 links. Any suggestions are greatly appreciated. Thank you for your support!
On-Page Optimization | | WebLadder0 -
Page Indexing
Hello All Nice easy question! I've made some on page changes to page titles, content, H1s etc but wanted to know if there was a way to check if Google has reindexed the page since the changes were made? I appreciate the different factors that will help improve your crawl rate like new content, external links, domain authority etc. I made these changes around 2 weeks ago. Google has cached the pages since I made the changes but not picked up on the new page titles in the search results. Cheers Todd
On-Page Optimization | | todd75850