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
-
Are Multiple Page Titles hurting my rankings
The platform that built our website has, for some reason, put multiple page titles on all of our webpages: https://www.backyardadventures.com/ If you open this page and "View Page Source" you will see that there are 50 page title tags (). There is one with our actual page title, but there are 49 others that look like this: <title></span><span class="html-tag">lock</span><span class="html-tag"></title> or <title></span><span class="html-tag">bubbles2</span><span class="html-tag"></title> are just two of the examples. The company said that because they are in a svg tag () they are fine. The title tags show up on some of the Moz tools. Is this effecting our rankings?
On-Page Optimization | | PageLogic0 -
Page grader says we are keyword stuffing but we arn't. Page source shows different story.
Hi community! We have just run a page grader for the keyword 'LED Bulbs' on whichledlight.com and it comes up that we are keyword stuffing! However, a brief look at the source for the homepage and there's only 6 times that LED Bulbs pops up. We do have the non plural version of the word 'LED Bulb' on the page 27 times.. do we think that would contribute to the keyword stuffing? Thanks!!
On-Page Optimization | | TrueluxGroup0 -
Product titles
Hi guys, I'm starting to sell sofas and furniture online in Australia. Many USA companies just use the key ranking words as the Product Title i.e. "Ultra -Modern black leather sectional sofa with bookcase". Even if they have 100s of products. But in Australia they just use the model name, such as "The York", "The Boston", etc. Cause it does create a nicer picture and a neater look on the main page. I was wondering how important this practice is in improving search ranking? is it spammy? Thanks
On-Page Optimization | | cowhidesdirect0 -
Is G clever enough to not consider many instances of a category kw on a category page as kw stuffing ?
Hi Say you have a category page on your ecommerce store for a range of a brands products you sell, say brand is called "Cool Surfboards" and is hence the pages target keyword. This page is being populated by name, image and snippet/description for each of the brands different products in the range, such as: "Cool Surfboards HiFive", "Cool Surfboards Rad" , " Cool Surfboards XYZ" etc etc etc Since there are many products in the range the kw is being repeated aprox 20 times. The page is scoring an A grade but obviously failing in regard to keyword stuffing. However if you remove the brand and rename the products by model name only then the sub product specific pages will fail to be optimised for 'brand and model' and it would seem silly to not name the product what it actually is. So the question is, i take it Google is clever enough to ignore kw stuffing in these types of instances since its not actually kw stuffing and hence should leave as is ? Or will G consider it stuffing/over optimised and you should remove the brand name for the individual product names to prevent this ? cheers dan
On-Page Optimization | | Dan-Lawrence0 -
Wordpress duplicate titles - can't find original title tags
I added new code to rewrite the page titles <title><?php wp_title(''); ?></title> But I can't find the normal title tags in the Header PHP file in editor so I now have duplicate titles tags in the source code This is the code - can't see what else would be titles? This is the website ... http://apexgenerators.co.uk/ <title><?php wp_title(''); ?></title> eFavIcon(); ?> eCSS(); ?> enabled('Theme')) { ?> http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic" />
On-Page Optimization | | lauratagdigital0 -
How much SEO value does a fashion site get from bolting text onto the bottom of home page? Does the value compensate for cluttering up a page focused on an iconic image?
Getting ready to launch a completely redesigned site for a fashion designer. Since it is a fashion site, visitors do not need text to describe what the site is about., We are weighing three options: 1) clean design with no text (just images and navigational links), 2) bolting on a couple of sentences of text at the bottom of the page to signal keyword terms to the search engines, 3) following the lead of the top ranking site in the category and adding lots of text to the bottom of the page. Do the SEO benefits justify cluttering up the design by bolting text onto the bottom of the home page, and if so, how many characters of text seem to be the minimum to be effective?
On-Page Optimization | | RandyP0 -
Autogenerated pages
My main product is database conversion software. As it supports tons of databases, it's fairly easy to generate thousands of landing pages simply by variating source/target database names, connection information etc. In fact, I autogenerated almost 25k pages that way. As I didn't want to jeopardize my main site, I placed all that content to a new microsite (www.fullconvert.com) which had no history and no inbound links. Results were nice - site is live two months and in second month already had 1300 visitors. Now, my question is - should I create the same thing on my (old and rather authoritative) main site www.spectralcore.com? I could use a different template to avoid duplicate content. Of course, my main concern is being penalized by Google. In my opinion, this autogenerated content is fine because it provides (tons of) laser-focused landing pages, so visitors will instantly recognize they found what they're looking for. But Google might disagree! What do you think? Is there a danger in trying to leverage authority of my main site in adding 20k+ autogenerated pages with inbound no links to them?
On-Page Optimization | | metadata0 -
Google is indexing spam pages from my site. What is the most effective way to get ride of the search results? Pages are deleted now but should I do something more?
A long time ago I created a forum (Invision Power Board) and it got full of spam. Massive amounts! /forum/ I've now deleted the forum but the spam pages are still indexed on Google. Can I do something else to hurry up the process to get ride of them?
On-Page Optimization | | ocarlsson0