Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
H1 tag in Blank in Wordpress website
-
Good evening,
I have noticed using some h1 checkers, that my primary h1 tag is blank. I manually introduced an h1 with my main keywords, but system recognises as 2 different h1 tags, and therefore it could be harmful for my SEO purposes.
I created my wordpress website using Artisteer.
Is there any specific way (or plugin) to change this primary h1 tag so it wont appear as blank?
My site is www.outletspain.net
Thanks in advance
Maria Jesus
-
Only a pleasure

-
Great, it worked Wonderfully! Then I put manually the h1 tag I wanted near and it´s fixed.
Thanks for the support.
Maria Jesus
-
-
I am sorry, but I must be doing something wrong. What do you men by adding an id to span tags.
Thanks, and sorry I am a newbie
-
Hi Maria
I had the same issue and this helped me.
Regards
Stef
Have a copy of your current theme. If not, make one!
Change the code of the blog title and subtitle.
Open Header.php and look for:
/”>bloginfo(‘name’); ?>
Replace the H1-tags by SPAN-tags, like this:
Don’t forget to add an id to the span tag!
Do the same for the H2-tags; look for:
And replace the H2-tags by SPAN-tags like this:
Don’t forget to add an id to the span tag!
Now change the css, open the Styelesheet (style.css).
Search for h1.art-logo-name and replace it everywhere by span.art-logo-name
Search for h2.art-logo-text and replace it everywhere by span.art-logo-textOpen wrappers.php and find the following code:
’.$title.’
And replace the H2-tags by H1-tags:
’.$title.’
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-
