Hiding h1 tags in Magento
-
Hi Moz Community,
I know that hiding h1 tags isn't a good practice for SEO and google, but we have banners that look much nicer than the stock text Magento uses for its titles.
The banners have the same text and the h1 is in the source code, just not visible on front end. The option Magento gives is "hide title on the page." So I'm not sure if this is actually the bad way to hide it or if it's fine for search engines.
Thanks,
-Reed -
My view is a little bit different, but to be 100% I would have to look at the site. If the application / module is using style="display:none" to hide the tag, I would not use it. The reason being is that multiple h1 tags on a page dilute or in some peoples opinion cancel out other h1 tags. There are valid reasons to hide h1 tags, like when you are doing fade ins or have a slider with it in there. So I am of the opinion that even if it is hidden Google will pick up on it. So you do run the chance of being caught for keyword stuff or it could cancel out your h1 tag that is displaying. (As far as I know there is no clear 100% information on how Google handles multiple h1 tags. I have heard all sorts of things including it registers the first one seen in code, it registers the last one seen in code, it combines the weight given to all of the h1 tags, and even that they don't matter it is text size above the fold that matters)
If it were me this is what I would do. I would remove the text from the banners and use the built in functionality for the text. Depending on the location of them on the page really depends on how I would tag them, they could be h2, h3, span, ect. But I would opt for on page visible text over using a graphic with text. I realize that you do not like the style that it uses, but it is just a style that can usually be mimic'd with a style sheet. The reason I usually opt not to use text on banners is twofold. It cannot be translated and it cannot be searched.
-
Hi Jeff,
Exactly what I was looking for. I don't think we'd need to change the way titles are displayed, just wanted to be sure it wouldn't count it as duplicate or see it as a keyword hiding technique.
Thanks for your help
-
Hi Bruce,
Thanks for your response, really helpful.
Cheers.
-
Reed - You should be fine to use the "hide" function in Magento to not have the duplicate
tags show up on the site. If you want to jump into the code a bit more, you can likely change the way that the titles are displayed, but this might be a deeper dive into the design layer of Magento.
Hope this helps!
-- Jeff
-
h1 tags are useful, but are not needed by Google, as they will crawl the page to see the content. However if you have h2 h3 etc tags, but don't have an h1 then crawls will not read any tag at all, as they must be present, completed and sequential.
Hope that helps
Bruce
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
-
No index tag robots.txt
Hi Mozzers, A client's website has a lot of internal directories defined as /node/*. I already added the rule 'Disallow: /node/*' to the robots.txt file to prevents bots from crawling these pages. However, the pages are already indexed and appear in the search results. In an article of Deepcrawl, they say you can simply add the rule 'Noindex: /node/*' to the robots.txt file, but other sources claim the only way is to add a noindex directive in the meta robots tag of every page. Can someone tell me which is the best way to prevent these pages from getting indexed? Small note: there are more than 100 pages. Thanks!
Technical SEO | | WeAreDigital_BE
Jens0 -
Header Logo and H1
I would like to use the website logo on our site as the H1 for the homepage (see top 'Covers' logo http://www.covers.com/index.aspx ). I have found one of our sister sites with code like this Gracenote with CSS that sets the text to 'transparent' and the background image to the logo. My question is would the text be consumed or ignored by the robot? Unfortunately, wedging an H1 in anywhere else is not possible at this time, so this is my best option. Is this change worthwhile? THanks in advance.
Technical SEO | | evansluke0 -
Why is Google replacing our title tags with URLs in SERP?
Hey guys, We've noticed that Google is replacing a lot of our title tags with URLs in SERP. As far as we know, this has been happening for the last month or so and we can't seem to figure out why. I've attached a screenshot for your reference. What we know: depending on the search query, the title tag may or may not be replaced. this doesn't seem to have any connection to the relevance of the title tag vs the url. results are persistent on desktop and mobile. the length of the title tag doesn't seem to correlate with the replacement. the replacement is happening at mass, to dozens of pages. Any ideas as to why this may be happening? Thanks in advance,
Technical SEO | | Mobify
Peter mobify-site-www.mobify.com---Google-Search.png0 -
Multiple H1 tags in Squarespace
Hi. I'm using Squarespace, and I've noticed they assign the page title and site title h1 tag status. So if I add an on-page h1 tag, that's three in total. I've seen what Matt Cutts said about multiple h1 tags being acceptable (although that video was back in 2009 and a lot has changed since then). But I'm still a little concerned that this is perhaps not the best way of structuring for SEO. Could anyone offer me any advice? Thanks.
Technical SEO | | The_Word_Department0 -
Are similar title tags frowned upon by search engines?
We are a B2B company that is looking to convert to one global portal very soon. It is only then that we will be able to address a lot of the IA SEO issues we are currently facing. However, we are looking to make some quick fixes, namely adding a proper title to the different country homepages. Will having the same title, with only the country modifier swapped out be a good tactic? Since we want a unified title across all country sites, it just makes sense that we don't change it for every single country. For example: Small Business Solutions for B2B Marketers | Company USA Small Business Solutions for B2B Marketers | Company Italy Small Business Solutions for B2B Marketers | France
Technical SEO | | marshseo0 -
Google changing title tags to branded
Hi guys and gals, i noticed in the results today Google has been changing my title tags so that brand: is in the front of it all. This is not in the code but my title tag structure site-wide is keywords and then always | brand on the end. Why has this happened does anyone know? does it affect my first keyword in the title tag, i guess Google might do it as it recognises the brand and wants users to know it?
Technical SEO | | pauledwards0 -
Title tag keyword prioritizing
It's widely accepted that in title tags, the first word ranks the highest, and each word after that contributes less than the one before. So a page with the title "Philadelphia Parks" will rank higher than "Parks in Philadelphia" for Philadelphia, but the second page will rank higher for Parks. With this in mind, which keywords should I put first in the title tags of my product pages? Brand name? Product SKU? Is it better to prioritze general words with higher search volume (more impressions) or more specific terms with lower search volume (stronger long tail)? Any guidance would be appreciated. Thanks
Technical SEO | | AmericanOutlets0