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
-
Does google look at H3 tags?
I've had someone tell me that google doesn't pay attention to H3 tags -- only H1 and H2. I haven't found much online to back this up or discredit it; thought I'd ask the Moz community!
Technical SEO | | LivDetrick5 -
Hide sitelinks from Google search results
Does anyone have any recommendations on how you can tell Google (hopefully via a URL) not to index that page of a website? I have tried through SEO Yoast to hide certain sitemaps (which has worked to a degree) but certain functionalities of Wordpress websites show links without them actually being part of a "sitemap" so those links are harder to hide. I'm having an issue with one of my websites - the sitelinks that Google is suggesting are nowhere near the most popular pages and I know that you can't make recommendations through Google not to show certain pages through Search Console. anymore. Any suggestions are greatly appreciated! Thanks!
Technical SEO | | MainstreamMktg0 -
Adding Schema and No index tags via GTM
If we were to deploy schema and noindex tags to our website via Google tag manager, would these tags be viewed and respected by other search engines?
Technical SEO | | GregLB0 -
Duplicate title while setting canonical tag.
Hi Moz Fan, My websites - https://finance.rabbit.co.th/ has run financial service, So our main keywords is about "Insurance" in Thai, But today I have an issues regarding to carnonical tag. We have a link that containing by https://finance.rabbit.co.th/car-insurance?showForm=1&brand_id=9&model_id=18&car_submodel_id=30&ci_source_id=rabbit.co.th&car_year=2014 and setting canonical to this url - https://finance.rabbit.co.th/car-insurance within 5,000 items. But in this case I have an warning by site audit tools as Duplicate Page Title (Canonical), So is that possible to drop our ranking. What should we do, setting No-Index, No-Follow for all URL that begin with ? or keep them like that.
Technical SEO | | ASKHANUMANTHAILAND0 -
Multiple H1 Tags on Page
Can having multiple H1 tags on a webpage be detrimental to its rankings?
Technical SEO | | AubbiefromAubenRealty0 -
• 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 -
Alt and Title Attributes in Anchor Tags
Does it hurt to use alt and title attributes inside an anchor tag? Example: view my website article
Technical SEO | | donationtown0