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
-
Duplicate 'meta title' issue (AMP & NON-AMP Pages)
how to fix duplicate meta title issue in amp and non-amp pages? example.com
On-Page Optimization | | 21centuryweb
example.com/amp We have set the 'meta title' in desktop version & we don't want to change the title for AMP page as we have more than 10K pages on the website. ----As per SEMRUSH Tool---- ABOUT THIS ISSUE It is a bad idea to duplicate your title tag content in your first-level header. If your page’s <title>and <h1> tags match, the latter may appear over-optimized to search engines. Also, using the same content in titles and headers means a lost opportunity to incorporate other relevant keywords for your page.</p> <p><strong>HOW TO FIX IT</strong></p> <p>Try to create different content for your <title> and <h1> tags.<br /><br />this is what they are recommending, for the above issue we have asked our team to create unique meta and post title for desktop version but what about AMP page?<br /><br />Please help!</p></title>0 -
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 -
We have new website abexpress.ae. The website is not ranking in the first page when I search with the Domain name itself. Any tips to improve the SEO for a new website?
We have launched a website abexpress.ae. The website is not ranking well even if we search with the Domain name. The Domain authority of the website it 10. How to increase this?
On-Page Optimization | | AlliedTransport0 -
The effect of having CR LF HT commands in a <title>tag</title>
Hello. I am looking at a customer site with a CMS system that is controlling the population of the meta TITLE Currently it has the TITLE set as this <title>(CR)(LF)<br />(HT)Site Details REMOVED - Customer name REMOVED(CR)(LF)<br /></title> Naturally, we would prefer it to be <title>Site Details REMOVED - Customer name REMOVED</title> What affect would these commands have in the title! Google shows their title when you Google the company website... so I guess it can see it .... but GA "Top Site Content" widget shows it as blank ? Any ideas? Cheers
On-Page Optimization | | BinaryTris0 -
Imiges on own page???
Can somebody help me to explain why when I click on an image in a post it goes to its own page?? And why if I click on other image it does not go anywhere?? this is one of the posts: http://villasdiani.com/beach-wedding-at-a-luxury-boutique-hotel/ what is good or bad?? On most of the images SEOmoz is reporting that I am missing meta description!
On-Page Optimization | | VillasDiani0 -
Different pages for OS's vs 1 Page with Dynamic Content (user agent), what's the right approach?
We are creating a new homepage and the product are at different stages of development for different OS's. The value prop/messaging/some target keywords will be different for the various OS's for that reason. Question is, for SEO reasons, is it better to separate them into different pages or use 1 page and flip different content in based on the user agent?
On-Page Optimization | | JoeLin0 -
Title tags in duplicate pages
hi there, we have a new ecommerce platform which has just been deployed, and I've been asked to tidy up the onpage SEO. we have employed canonicals across the category and product pages and we now have a nice set of unique product pages my question is - do we need to create the title tags in all of the duplicate non-canonical pages eg www.mysite.com/niceproduct.html (canonical) www.mysite.com/acategory/niceproduct.html (duplicate) Can we leave the duplicate title tag empty and not worry about it, or should we put in a duplicate of the canonical title tag hope the question makes sense! thanks in advance for all help
On-Page Optimization | | k3nn3dy30 -
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page?
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page or should I make separate pages for each keyword even when they are similar? Will Google penalize me for making similar pages? Imagine selling, bargain milk chocolate peanut clusters. Keywords examples could be: Bargain chocolate Bargain milk chocolate Bargain milk chocolate peanut clusters Bargain chocolate peanut clusters Chocolate peanut cluster bargains Milk chocolate peanut cluster bargains Etc. Will one page called http://mycompany/bargainmilkchocolatepeanutclusters.com be OK or should I have one called http://mycompany/bargainmilkchocolate.com and one called http://mycompany/bargainmilkchocolatepeanutclusters.com and one called http://mycompany/chocolatepeanutclusterbargains.com , etc.? Thanks for your advice.
On-Page Optimization | | KSHAYY0