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
-
Updating url name of a key page
One of my key pages has a url name that is completely non descriptive ('About') with no keywords in it that match the important content on that page. Should I create a new page with a proper url name and move the contents there (lose the authority of the current page), or create the url name only and redirect to the existing About page?
On-Page Optimization | | ppopov0 -
Is it important to have the brand name in all page title?
Hi Moz community, May be this is an obvious question but as i am not sure about the answer.... I prefer to ask you! If yes, is "keywords" - "BRAND NAME " the good option? If not, is there any rule? Thanks a lot, Amaury
On-Page Optimization | | adbds19730 -
Category Pages are not Shown when searched for "brandname Category name"
Hi, Someone googled our brand name + category page name and our category page didn't showed up first so he says it's a bad job/thing. so help me to fix this. Googled "sepalika acid reflux" without quotes. Thank you.
On-Page Optimization | | Sepalika0 -
How come canonicalized pages are showing in the Duplicate Titles report?
I am currently removing all duplicate titles from my site via title tag changes, 301's, and in some instances, canonical tags. I'm confused about why the Moz report spit out pages with duplicate titles that are canonicalized to other pages. Does Google actually consider these pages as having duplicate titles? Or is Roger Mozbot not intuitive enough to to disregard those pages?
On-Page Optimization | | StevenLevine0 -
Duplicate page titles and hreflang tags
Moz is flagging a lot of pages on our site which have duplicate page titles. 99% of these are international pages which hreflang tags in the sitemap. Do I need to worry about this? I assumed that it wasn't an issue given the use of hreflang. And if that's the case, why is Moz flagging them as an issue? Thanks.
On-Page Optimization | | ahyde0 -
Google Showing H1 Title Instead of Doc Title in Search Results?
I see this often for my website: Google displays my pages' H1 title instead of the document title in its search results. Is there any particular reason for this? Do we have any kind of control on this?
On-Page Optimization | | sbrault740 -
Ecommerce - how many clicks from the home page should categories be
My client has about 300 products in 20 categories with a lot of overlap. How many clicks from the home page should we keep the products? We're not doing pagination. I'd been told several years ago that all products should be 2 clicks or less from the home page. Is this true today? Thanks.
On-Page Optimization | | BobGW1 -
Woah, my A-grade optimized pages that were on the first page have all vanished outside the top 50 in Google... is this Panda?
Yep as mentioned, I had some pages hit the top ten pretty quickly after ensuring they were A-grade for pretty uncompetitive keywords however, today, all bar 2 have just vanished from the top 50! All were ranking in Google.co.uk and I know we were predicting the Panda update to hit soon but WOW! My client is understandably a little upset, what on earch do I tell him and what should I do about it? Cheers! jT
On-Page Optimization | | Switch_Digital0