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
-
What is the best tag to use for your Logo ?
Hi, I'm wondering what is the best tag to use on your logo. We're currently using h1 and i want to scrap that ASAP.
On-Page Optimization | | Alex.harvey.Cortex0 -
Avoiding Duplicate Title Tags and Duplicate Content
Hi - I have a question on how to both avoid duplicate title tags and duplicate content AND still create a good user experience. I have a lot of SEO basics to do as the company has not done any SEO to this point. I work for a small cruise line. We have a page for each cruise. Each cruise is associated with a unique itinerary. However the ports of call are not necessarily unique to each itinerary. For each port on the itinerary there are also a set of excursions and if the port is the embark/disembark port, hotels that are associated. The availability of the excursions and hotels depends on the dates associated with the cruise. Today, we have two pages associated with each cruise for the excursions and hotels: mycruisecompany.com/cruise/name-of-cruise/port/excursion/?date=dateinport mycruisecompany.com/cruise/name-of-cruise/port/hotel/?date=dateinport When someone navigates to these pages, they can see a list of relevant content. From a user perspective the list I see is only associated with the relevant date (which is determined by a set of query parameters). Unfortunately, there are situations where the same content is on multiple pages. For instance the exact same set of hotels or excursions might be available for two different cruises or on multiple dates of the same cruise. This is causing a couple of different challenges. For instance, with regard to title tags, we have <title>Hotels in Rome</title> multiple times. I know that isn't good. If I tried to just have a hub page with hotels and a hub page with excursions available from each cruise and then a page for each hotel and excursion, each with a unique title tag, then the challenge is that I don't know how to not make the customer have to work through whether the hotel they are looking for is actually available on the dates in question. So while I can guarantee unique content/title tags, I end up asking the user to think too much. Thoughts?
On-Page Optimization | | Marston_Gould1 -
How to Handle duplicate pages/titles in Wordpress
The wordpress blog causes problems with page titles. If you go to the second page of blog posts it there's a different URL but with the same page title. for example: page 1: site/blog page 2: site/blog/page/2 Each page gets flagged for duplicate page titles. Thanks in advance for your thoughts,
On-Page Optimization | | heymarshall1 -
Best wordpress theme seo 2014
In your opinion what are the best wordpress theme in 2014 that are responsive, good speed and seo buildup
On-Page Optimization | | maestrosonrisas0 -
Do sites built with WordPress work in China get indexed by Baidu?
I think that WordPress.com is banned, but are websites that are created by WordPress get banned?
On-Page Optimization | | CoGri0 -
What are "stop" words in Title Tags?
My client is following his GoDaddy SEO Checklist, and it is reporting 5 errors in Title Tags, saying the Titles contain "stop" words. I can't figure out what these are. Any ideas?
On-Page Optimization | | cschwartzel0 -
How to separate your - keywords - and | Brand name in the Title Tag
I have traditionally used hyphens (-) and vertical bars (|) to separate out keywords/brands in title tags. A client has asked if other characters will work such as tilde (~), apersat (@), forward slash (/) etc. Are there any special characters we should steer clear of?
On-Page Optimization | | Switch_Digital0 -
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