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.
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
-
I have updated title 4 days ago but still still showing old title and description on Google serps, How to resolve it?
I have updated the title tag but not showing, Please have look at the view source for this website- https://m.yolobus.in/ I want to show this title and description- <title>Online Bus Ticket Booking | YoloBus India</title> But showing the wrong title and description on google SERP- Title - YoloBus :: Home Description - Delhi Lucknow; Lucknow Delhi; Delhi Gorakhpur; Varanasi Lucknow; Gorakhpur Delhi; Delhi Delhi; Bangalore Bangalore; Manali Manali; Chennai Chennai 7mHsdmu
On-Page Optimization | | AnkitS.19900 -
Page Title Length
Hi Gurus, I understand that it is a good practice is to use 50-60 characters for the a page title length. Google appends my brand name to the end of each title (15 characters including spaces) it index. Do I need to count what google adds as part of the maximum recommended length? i.e.
On-Page Optimization | | SunnyMay
is the maximum 50-60 characters + the 15 characters brand name Google adds to the end of the title or 50-60 including the addition? Many thanks!
Lev0 -
Will it upset Google if I aggregate product page reviews up into a product category page?
We have reviews on our product pages and we are considering averaging those reviews out and putting them on specific category pages in order for the average product ratings to be displayed in search results. Each averaged category review would be only for the products within it's category, and all reviews are from users of the site, no 3rd party reviews. For example, averaging the reviews from all of our boxes products pages, and listing that average review on the boxes category page. My question is, will this be doing anything wrong in the eyes of Google, and if so how so? -Derick
On-Page Optimization | | Deluxe0 -
Snippet showing as domain name with apostrophe, instead of page title when searching for the domain name.
Hi, We have an issue with one of our websites, with the snippet dispaying differently in Google serps when searching for the domain or the website name rather than a search term. When searching for a search term, the page title shows as expected, but when searching for the site by the domain name either with or without the tld, it shows the snippet as the domain name with an apostrophe at the end. Domain is subli.co.uk Thanks in advance for any advice!
On-Page Optimization | | K3v1n0 -
How to Handle duplicate pages/titles in Wordpress
The wordpress blog causes problems with page titles. If you go to the second page of blog posts it there's a different URL but with the same page title. for example: page 1: site/blog page 2: site/blog/page/2 Each page gets flagged for duplicate page titles. Thanks in advance for your thoughts,
On-Page Optimization | | heymarshall1 -
Listing all services on one page vs separate pages per service
My company offers several generalized categories with more specific services underneath each category. Currently the way it's structured is if you click "Voice" you get a full description of each voice service we offer. I have a feeling this is shooting us in the foot. Would it be better to have a general overview of the services we offer on the "Voice" page that then links to the specified service? The blurb about the service on the overview page would be unique, not taken from the actual specific service's page.
On-Page Optimization | | AMATechTel0 -
How many keywords max can I optimize each page for?
I don't want to over optimize by doing 1 keyword per 1 page, but then if I do more, seomoz on-page tool report doesn't give an A grade for each keyword I optimize. I usually optimize for max 3 keywords that are very closely related, meaning they use the same words. Ex. dentist los angeles, los angeles dentist, dentist in los angeles Am I on the right track or what's your recommendation? Should I create different landing pages for each keyword?
On-Page Optimization | | sub90900 -
Missing meta descriptions on indexed pages, portfolio, tags, author and archive pages. I am using SEO all in one, any advice?
I am having a few problems that I can't seem to work out.....I am fairly new to this and can't seem to work out the following: Any help would be greatly appreciated 🙂 1. I am missing alot of meta description tags. I have installed "All in One SEO" but there seems to be no options to add meta descriptions in portfolio posts. I have also written meta descriptions for 'tags' and whilst I can see them in WP they don't seem to be activated. 2. The blog has pages indexed by WP- called Part 2 (/page/2), Part 3 (/page/3) etc. How do I solve this issue of meta descriptions and indexed pages? 3. There is also a page for myself, the author, that has multiple indexes for all the blog posts I have written, and I can't edit these archives to add meta descriptions. This also applies to the month archives for the blog. 4. Also, SEOmoz tells me that I have too many links on my blog page (also indexed) and their consequent tags. This also applies to the author pages (myself ). How do I fix this? Thanks for your help 🙂 Regards Nadia
On-Page Optimization | | PHDAustralia680