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
-
H1 tag positioning impact
Hello, I am currently working with a dev team to develop a new site. We have designed the title tags to sit below a banner image on each page but the technical team are insisting the h1 title tags must come above the banner for maximum SEO impact. I am sceptical about this, can anybody please shed some light and/or share any up to date resource on this? I have attached a side by side wireframe to illustrate the pages with the h1 tags in both positions. Thank you! HnWcLTx
On-Page Optimization | | Popidev0 -
Positioning H1 and H2 tags adjacent on a page without content in between
Is it best practice to separate H1 and H2 tags with P tag or other content, or is it ok to have H1 and H2 adjacent without content in between?
On-Page Optimization | | Avid-Design1 -
Google is putting brandname: in title tag
Hello, I was wondering why this is happening? In html for example the title tag is something like this: keyword 1 | keyword 2 | Brand name. Title is 67 characters.. When I search in google, I see the site but it shows brandname: keyword 1 | keyword 2 Is this bad? does this mean that google doesn't like the title tag that is in the html? I tried looking it up on google, but they were outdated and I honestly didn't really see an answer to what it means when this happens. Does the brandname: affect rankings?? Have any of you dealt with this, or noticed this?
On-Page Optimization | | donnieath0 -
404's Wordpress products
Hi Guy's, On a Wordpress website we have a SEO Ultimate plugin running. Every day i get lot's of 404 errors of products that doesn't exist anymore (but are indexed, site: .... ). In the beginning we had lot's of testproduct that are not coming back in the shop. So i was wondering if there is a way to automaticly redirect product when there are out of stock, or not comming back anymore... So my 404's can be fixed. Thanks!
On-Page Optimization | | Happy-SEO1 -
Category page canonical tag
I know this question has been asked a few times on here but I'm looking for very specific advice. Currently when you go to a category, say http://www.bronterose.co.uk/range.html, a canonical tag is added to the head of the page. There are plenty of "variant" pages which carry the same tag, for example: /range.html?p=2
On-Page Optimization | | crichardson9
/range.html?p=3
/range.html?dir=asc&order=price
/range.html?dir=asc&limit=all&order=price Is it wise to push the "link juice" for each of these variant pages to the top level page? Or should each variant page have its own unique canonical tag? After reading many blog posts, guides and papers I'm truly confused! Any general guidance or recommendations would be much appreciated. Chris.1 -
Head description tag, what now
Recently I heard Google virtually dropping the description tag for seo scoring? and it takes the data off the page, however one of my clients description is just pulling a url rather than any content from the page. is there some way thats ethical to suggest a description to google?
On-Page Optimization | | Shuffled0 -
Is it better to include the secondary keyword or site name in a title tag?
When I add a site name to my title tag with long-tailed primary and secondary keywords the title tag is longer than 70 characters. I need to include all three parts, so what should I do? At 70 characters the site name is usually partially cut off. I do not want to get penalized by Google, but I need to include the site name to have consistency. I am using the format Primary Keyword-Secondary Keyword | Site name
On-Page Optimization | | lwilkins0 -
Keyword use in Title tag?
To improve SEO on a particular keyword, should you use that same keyword in the title tag of multiple pages within your site? Will that help or would it actually hurt by causing pages within your site to complete against each other for that keyword? Does it make a difference if that keyword is truly used on all those different pages?
On-Page Optimization | | KHCreative0