H1 tag in wordpress
-
Hi there! I'm having problems to locate the h1 tag in wordpress (in each page) in order to optimize the pages for SEO. When introducing text it starts with h2. Where can I locate it?
Thanks in advanced.
-
many thanks Paul
-
You could likely change it yourself if you're familiar with html, php and WordPress tags, JM. You'll have to edit the source code of theme templates.
The h2/h1 tags would need to be changed for each page type (especially main index, pages and posts - there may be multiples of each). You can edit these fairly easily using the Editor under the Appearance link in the left sidebar of the admin dashboard.
For any files you edit manually, you will have to go back and re-edit them each time you update your theme, as they will be likely be overwritten during the upgrade.
Also, the styling of theH1/H2 tags is controlled in the CSS stylesheet. You'll need to edit that as well if the titles don't look the way you want after changing to H1s. (And will also need to be re-updated after each upgrade.)
Hope that helps?
Paul
P.S. Be sure to make a backup of the template file before editing so you can easily restore if you run into problems. Just copying and pasting it into a txt document is usually enough.
-
Hi Paul, is there a way I can solve it myself? just replacing the h2 tag with h1 tag in the text? how can I notice that the h1 tag is implemented? via source code?
Thanks.
-
Thanks Paul
-
Your theme has not been coded correctly for best SEO performance, Juan Miguel. It is using
tags for the page titles instead of H1 as it should. No idea why a developer would do this as it's standard practice (especially in WordPress themes) to have the pager title as the H1 on the page.
That said, the H1 tag is not a tremendously significant ranking factor for on-page optimization. It would be good to get it fixed, but I would put that at a fairly low priority. When you feel the really important SEO work has been done and you have a bit of time, you can see about getting the H2s changed to H1s. (Best would be to ask the theme developer to fix it, so it can be done correctly in the code, and other users of the theme will benefit from the fix as well.)
Hope that helps?
Paul
-
Hi Mike! here is one link:
http://www.sehaidoyamama.com/piensapiensa/servicios/talleres-para-docentes/aprendizaje-cooperativo/
should it be "taller de aprendizaje cooperativo", the title of the page "not the title tag"
Thanks.
-
In most themes, but by no means all, the h1 tag is the name of the post or page you're on.
-
That can depend on the theme of your Wordpress site. Can you post a link to your site so we can take a look?
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
-
Duplicate H3, H4 or H5 Tags
I know that duplicate H1 and H2 tags are a red flag for Google, but does the same apply for H3, H4 and H5 tags? A lot of my products have the same H5 tags and I'm wondering whether or not that is pulling down my keyword rank.
On-Page Optimization | | moon-boots0 -
Less Tags better for SEO?
I am currently reviewing my strategy when it comes to categories and tags on my site. Having been no-indexed for some time, and having many tags with just one entry I am thinking that this is not optimal for SEO purposes. This is what I am planning: Categories - Change these to Index, but only after adding a hundred words or so by way of introduction (see this example - https://www.besthostnews.com/news/hosting/a-small-orange-news/). With the categories I am thinking of highlighting key articles as well to improve link juice distribution to older articles that are important. Tags - About half my tags have only 1 entry, with a few more just having 2 entries. I am thinking of deleting all tags with just one entry, and trying to merge those with just two or 3 entries where it makes sense to do so. I will keep these as no-index, but I think this will mean more optimal distribution of link juice within the site. I would appreciate your thoughts \ suggestions on the best practices here.
On-Page Optimization | | TheWebMastercom0 -
What does Google consider a "Duplicate Title Tag?"
Do the title tags have to be exactly the same, or can they have some of the same keywords but different context? Hypothetical example: Home Page = Raising a Kitten, Tips & Tricks for a Healthy Cat Sub-Page = How to Cat-Proof your Home when Raising a Kitten Since both title tags has "raising a kitten," "cat" and "tips" would this be considered a "Duplicate Title Tag" even though the pages have completely different content in them? Thanks in advance!
On-Page Optimization | | Scratch_MM0 -
Which title tag would you choose?
Target terms: Flower Pots, Plastic Flower Pots (in order of importance) Title tags: 1. Flower Pots - Plastic Flower Pots for Gardening with Free Delivery
On-Page Optimization | | Bondara
2. Flower Pots - Plastic Flower Pots with Free Delivery
3. Flower Pots - Plastic Flower Pots from [Brand] Which one would you choose and why? If you want to produce another type please do but explain why you think yours is better than the above. Thanks0 -
Should I add canonical tag on these pages?
Hi folks I have some pages that used to rank pretty well..but I believe it is affected due to the content similarities. Here is one the sub category pages http://www.ilovebodykits.com/category/98/2/Full-Body-Kits_Duraflex.html the main category page http://www.ilovebodykits.com/category/98/Exterior_Body-Styling_Full-Body-Kits.html These 2 links have very similar contents. The content are dynamic generated by template and I don't think I am able to change content for each individual pages since there are over 2000-3000 of them or more. Should I use canonical tag on the Duraflex.html page to give the main category page all the link juices and credits? There are about 20 other pages like this under this main category. Is it right to canonical all of them? Please let me know if anyone has any suggestion.. thanks
On-Page Optimization | | ilovebodykits0 -
Why are my tags causing duplicate error?
Hi, When I run an SEO moz crawl it is picking up duplicate errors from my tags. Currently I have these set as domain url/tag/name of the tag. Is this incorrect? Is there anything I can do to stop this being picked up as duplicate pages? Thanks, Eliz
On-Page Optimization | | econley0 -
Sequence of heading tags (H1, H2, H3, etc) important?
Meaning heading tags (H1, H2, H3, etc) are a critical part of good on-page optimisation. Fair enough. It helps humans and bots make sense of a page's content. 3 questions regarding implementation of heading tags: Should heading tags appear in sequence in the HTML code. I.e. H1 first, then H2 lower down, etc.? Can the page contain more than one H1 tag? Can the page contain multiple H2, H3, H4 tags?
On-Page Optimization | | AndreVanKets1 -
Should I let Google index tags?
Should I let Google index tags? Positive? Negative Right now Google index every page, including tags... looks like I am risking to get duplicate content errors? If thats true should I just block /tag in robots.txt Also is it better to have as many pages indexed by google or it's should be as lees as possible and specific to the content as much as possible. Cheers
On-Page Optimization | | DiamondJewelryEmpire0