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.
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
-
# Tag - opacity and SEO impact
Hello,
Technical SEO | | Tiffany_Barn
I have a query animation 'fade-in-up' on my website: tiffanybarnard.com which moves the H1 tag slightly and fades it in from zero opacity to 1. Will this affect the SEO value of the H1 tag?
Thank you!0 -
How long does it take for canonical tags to work
How long on average does it take for a canonical tag to work? Understand that canonicals are just a suggestion, but after adding a canonical tag and submitting the page via Google fetch, assuming Google follows the canonical, would you expect it to work after a day or two or does it take longer? We added canonicals to old PPC landing pages that are ranking organically, though our new landing pages (which we want to rank organically) are not identical and have a bit more content/features. They are similar though. Canonicals were added to the old pages (pointing to new pages) and requested indexing via search console. Old pages are still ranking and new pages not so much. FYI we are unable to 301 old PPC pages due to other non negotiable reasons unfortunately. Thanks.
Technical SEO | | SoulSurfer80 -
Canonical tag use for ecommerce product page detail
Hi, I have a category page I want to rank. This page has 24 different products quite similar but not exactly the same.
Technical SEO | | amastone
I want to use canonical tag in any product to the parent category.
Is this a right use of the canonical?
Category page I'm talking about is : Finger bits If I understand how to use canonical tags I can improve all my category pages. thanks marco0 -
Product meta tags are not updating in my Magneto website!
I need some help! For some reason, each time I update the product meta tags in my Magento website, it doesn't change on the current website? Could someone help me understand why that is?
Technical SEO | | One2OneDigital0 -
Magento Dublicate Content (Noindex and Rel"canonical")
Hi All, Just looking for some advice regarding my website on magento. We by mistake didnt enable canonical tags and noindex tags so had a big problem with dublicate content from filter pages but also have URLs to Cats as Yes so this didnt help with not having canonical tags enabled. We now have everything enabled for a few weeks now but dont see much drop in indexed pages in google. (currently 27k and we have only 5k products) My question basically is how do we speed up noindexation of dublicate content and also would you change URL to cats as No so google just now sees the url to products? (my concerns with this is would leaving it to Yes help because it will hopefully read the canonical tags on products now) Thank you in advance Michael
Technical SEO | | TogetherCare0 -
Using a non-visible H1
I have a developer that wants to use style="text-indent:-9999px" to make the H1 non-visible to the user. Being the conservative person I am, I've never tried this before and worry that Search Engines may think this is a form of cloaking. Am I worrying about nothing? And apologies if it's already been covered here. I couldn't find it. Thanks in advance!!!!
Technical SEO | | elytical0 -
• symbol in title tag
We have a few title tags with a circular dot symbol, which is created by the code "•" Humans see a dot, but googlebot sees • Does this negatively impact our SEO, or is googlebot aware that **• == *** to human eyes
Technical SEO | | lighttable0 -
What happens when you put an image in an H1 tag?
I am currently updating some H1 tags for my site but the tags are generated automatically by the text that is entered into a field on our content manager software. However because we need an image in this area as well, the entire field including the code for the image is surrounded by an H1 tag. Is this bad for SEO?
Technical SEO | | eVacStore0