Auto - update of h1 to h2
-
Hi,
I have recently inherited an ecommerce website and been tasked with improving SEO. I noticed a lot of pages were using several h1 tags and, with the help of my developer, used the css to overwrite the secondary headings as h2 tags.
However, since doing so many of the pages have fallen 15-40 places in the SERPS.
The h1 / h2 switch was the only update. Can anyone suggest why the pages would have fallen like this, and if it is a temporary measure likely to recover in time?
Thanks to anyone in advance for your help...
-
Ah ok, so generally I wouldn't suggest making any forced H1, H2 changes through php. Because, now all of your H1s will be affected (if I'm reading this right), which you don't want to happen.
Also if your issue before was having multiple H1 tags before, you'll now have multiple H2's. What CMS are you working in? Did you have multiple H1s before due to styling reasons (ex. Wordpress)?
If the header font style is what you were bothered with, modifying the css to reflect similarity across headers would work great. Then use the headers as you normally would.
Lastly, this should not affect your rankings that dramatically. I would look at your website analysis, backlink profile and see if any big on-site content changes were made.
-Hope this helps-
-
Hi Britney, thanks for for response on this.
This all gets quite complicated for my 'non-developer brain' but I'll try to explain how we've done it...
A .php file was used to define the structure of the product listings on our brand pages, so rather than amend every page my developer inserted some code, using a new class to overwrite some of the the h2 tags:
if(isset($modlet->h1)){?>
expandText($modlet->h1);?>
and replicated the h1 style for this class in the styles.css document.
I've checked the source as rendered in a browser and where the h1 tag should be the h2 tag appears, as expected.
Thank you for the suggestions, I'll look into these and let you know how I get on.
-
Agree with Matt, this drastic of a swing isn't likely due to changing your H1, H2s in CSS.
Can you please clarify "used the css to overwrite the secondary headings as h2 tags." ?
Lots of people use multiple H1s or H2s on a page due to formatting reasons. They like the way all of the H2s look (font size, weight, font, etc.) but the best way to go about this is to make custom CSS changes that modify ALL Header tags to look the same. This way you can use proper H1, H2, H3, H4, etc. and it won't look like a wonky cascading sub-title issue.
Some things to check regarding your ranking:
1. Google Search Console for server & index issues
2. Dropped 301s
3. New spammy backlinks
4. Any search console warnings
-
You know, what—I looked into this a bit more, and you actually might be right about what caused this. Let me get you some more help.
-
Hi Matt, thanks for your response.
I've not carried out any competitor analysis on this, what sort of thing should I be looking for?
-
That strikes me as a pretty massive change in rankings for a simple on-page change. Even a site-wide one, like that. Have you run any analysis on your competitors to see if anything they did might be to blame?
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
-
Multiple H1 Tags for different section on one webpage in HTML5 Website? Should I have only one?
https://www.tcs.com website has multiple H1 tag on around 40 out of 1000 pages. Webpage has different section and each section is important that's why used multiple H1 tag (one h1 for each section) **I understand, google will not penalize for multiple H1. But having multiple H1, for site like tcs, is it good or should use only one H1 tag? **Pls check https://www.tcs.com to see heading tag(6 heading tag used).
Web Design | | JayprakashSEO0 -
Does anyone have data on the effect of multiple H1 tags on a page?
One of my website's sub-domains is fed information from a job board master-template, thus my site (and hundreds of other sites) is just branded styling pulling from one external source. Because of the way this master template is set up (not very concerned with SEO best practices), I have found the need to hide the H1 coming from the master template, and display a new separate H1 in my styling. This is being done with user-experience in mind, but how will search engines respond to having two H1s (one hidden, one visible) on a page? I understand that a single H1 is usually ideal, and hidden page components are typically frowned upon because they don't add user value... but in this case, the hidden component is solely for the benefit of the user. I would like to find the best balance of SEO and UX, so I am very interested in any experimental data or case studies on a similar situation.
Web Design | | pbailey0 -
We're considering making notable changes to our website's navigation. Other than 301 redirects from old pages to new, what do I need to consider with this type of move or update?
We would like to make some navigation changes to our website: www.NetGainIT.com, specifically to the services section. I know that I will need a list of 301 redirects if I do not plan on keeping certain pages, but what else do I need to consider?
Web Design | | NetGainTech0 -
Wordpress Site Structure and H1 Tags
We are working on optimizing a client's website and asked the client's webmaster to change a handful of H1 tags. The webmaster said they could not do to the existing names being pre-set in the design. The website is built in Wordpress. The client has repeating H1 tags due to the 'design'. I have attached a snapshot of the backend. Is there a rule around Wordpress site structure where this doesn't happen? Is it worth changing? If so,what is the best solution. Thank you ahead of time. ylAMvNg.jpg
Web Design | | seoessentials0 -
Using H1 in a carousel
Hi, I have a homepage with a carousel rotator that has text in it. My question is what's the best practice in using H1 tags within the carousel. Will placing H1 tags in each be considered excessive H1 use and if so can this still cause SEO problems? Thank you
Web Design | | mirel0 -
Alternatives to Wordpress for updating content of a static html site
I have a static html site which I cannot update myself. What solutions/ programs would you recommend for gaining the ability to update it myself? I'm reluctant to switch to WordPress because the sites that use any CMS that are hosted by my web hosting company get routinely hacked. Thank you!
Web Design | | translate0 -
Java-script slider & H1 tags
If you have a java-script slider on the homepage, each slide has an H1 tag heading, which of the H1 tags would google most likely consider? all of them or just the first one?
Web Design | | GraphicMail0 -
H1 Tag, necessary or not? Hidden or not?
Our new site design utilizes H1 tags on all pages except the home page. We couldn't find a way to work it into the design. That being said, what's the opinion on necessity? Do we need an H1? If we do the image replacement thing, will that be better for SEO than none at all? Our old site had one and once we changed it to the term we wanted to optimize for we made the top 10 in less than 60 days. We don't want to lose that placement. Thoughts? You input is very much appreciated.
Web Design | | BMDM0