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
-
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 -
Optimal amount of alt and title tags on a landing page?
Hey guys! We are preparing a few product landing pages and want to make sure the alt and title tags are done correctly. We looked at landing pages from Apple and Google Nexus and found that they had very few alt and title tags (or none). Are we missing something here? Should there be an alt for every image and title for every link?
On-Page Optimization | | TVape0 -
Link in H1 tag?
Hi guys, We're working through a redesign of our product page and are considering the following: http://screencast.com/t/NBSsDGA9vgS3 Currently the product name (including the brand name - Arc'teryx) in this case is included in the H1 and none of the title is linked. You can see this here: http://www.evo.com/synthetic-jackets/arcteryx-atom-lt-hoodie-womens.aspx The firm we're working with is proposing keeping the entire title in the H1 but linking the brand name to the entire brand assortment. My concern is that the brand name is a critical part of the product title and should be text (not a link). Any suggestions? Thanks!
On-Page Optimization | | evoNick
Will0 -
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 -
Should I hide the blog post pages that are automatically built in WordPress?
The pages that are automatically created through WordPress (ex: blog post page 5) are popping up as pages that don't have titles or descriptions. Should I use a branded title and description on those pages or hide them from the search engines? Since it's pulling blog posts to create the pages, keywords are all over the place as well. What's the best course of action? Ex: http://www.blackdogeducation.com/blog/page/2/
On-Page Optimization | | BlackDogStudios0 -
Does a phone number in the title tag hurt your rankings in SERP?
Hi Mozzers, One of my client is a carpet cleaner and I was wondering if adding a phone number into the title tags would hurt our rankings . I am asking because the client has mentioned it and that we do have some space to add a phone number into the tag. Thanks
On-Page Optimization | | Ideas-Money-Art0 -
WordPress Crawl Errors
I recently added wordpress to my site and get the following errors: Duplicate Page Content http://agrimapper.com/wordpress/ http://agrimapper.com/wordpress/index.php How do I define the canonical page on a .php. 4XX (Client Error) http://agrimapper.com/wordpress/index.phpindex.php Any ideas where the 4XX error comes from. Thanks.
On-Page Optimization | | MSSBConsulting0 -
Wordpress Shortcodes Showing in SERPs
We use some Wordpress shortcodes in our theme and they aren't in the meta description at all. For certain queries, the shortcodes show on the SERPs when Google chooses the description for us -- is there any way to clean this up or prevent it? It's annoying because it includes the entire shortcode, not the markup that gets generated as a result of the shortcode...
On-Page Optimization | | kylesuss0