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
-
NoIndex tag, canonical tag or automatically generated H1's for automatically generated enquiry pages?
What would be better for automatically generated accommodation enquiry pages for a travel company? NoIndex tag, canonical tag, automatically generated H1's or another solution? This is the homepage: https://www.discoverqueensland.com.au/ You would enquire from a page like this: https://www.discoverqueensland.com.au/accommodation/sunshine-coast/twin-waters/the-sebel-twin-waters This is the enquiry form: https://www.discoverqueensland.com.au/accommodation-enquiry.php?name=The+Sebel+Twin+Waters®ion_name=Sunshine+Coast
Technical SEO | | Kim_Lazaro0 -
Same H1 & H2 Tags
Is it bad to have the same H1 & H2 tag on one page? I found a similar question here on the moz forum but it didn't exactly answer my question. And will adding "about" on the H2 help, or should we avoid duplicate tags completely? Here is a link to the page in question (which will repeat throughout this site.) Thanks in advance!
Technical SEO | | Mike.Bean0 -
No Access to change duplicate product title and meta tags!?
I have a client who's website contains a php file to dynamically call a product xml file from an external source. I asked the web dev company if there was any way to access or change the titles and meta descriptions to be unique for each product and they said no, not with their system. With about 63 product pages is this going to hurt me trying to get him ranked locally? What is the best to handle a situation like this?
Technical SEO | | satoridesign0 -
Are duplicate page titles fixed by the canonical tag
Google Web Master Tools is saying that some of my pages have duplicate page titles because of pagination. However, I have implemented the canonical tag on the paginated pages which I thought would keep my site from being penalized for duplicate page titles. Is this correct? Or does canonical tag only relate to duplicate content issues?
Technical SEO | | Santaur0 -
Why does it take so long for my TITLE tag it show ??
Hi Guys, I am frustrated here! I have changed my title tag so that I get a much better CTR. But I changed it a week ago and it is still howing the old title tag in the SERPS. Can anyone please tell me how long Google can take to show the new title tag in the search results?? Can it take weeks?? Thanks guys Gareth
Technical SEO | | GAZ090 -
Worpress Tags Duplicate Content
I just fixed a tags duplicate content issue. I have noindexed the tags. Was wondering if anyone has ever fixed this issue and how long did it take you to recover from it? Just kind of want to know for a piece of mind.
Technical SEO | | deaddogdesign0 -
Source code structure: Position of content within the tag
Within the section of the source code of a site I work on, there are a number of distinct sections. The 1st one, appearing first in the source code, contains the code for the primary site navigation tabs and links. The second contains the keyword-rich page content. My question is this: if i could fix the layout so that the page still visually displayed in the same way as it does now, would it be advantageous for me to stick the keyword-rich content section at the top of the , above the navigation? I want the search engines to be able to reach the keyword-rich content faster when they crawl pages on the site; however, I dont want to implement this fix if it wont have any appreciable benefit; nor if it will be harmful to the search-engine's accessibilty to my primary navigation links. Does anyone have any experience of this working, or thoughts on whether it will make a difference? Thanks,
Technical SEO | | Tinhat0 -
Multiple h1 headers in a slideshow
I’ve built a slideshow and each slide contains an image, h1 and text contained within a div. The slideshow grabs the whole div and slides it. My question is should I remove the h1 and style it with css e.g. my slide header or leave in the multiple h1 headers. All thoughts and comments welcome.
Technical SEO | | RodneyRiley0