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.
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 to do with outdated and irrelevant content on a website?
Hi everyone, On our corporate website we have a blog where we publish articles which are directly related to our company (house heating systems and gas cylinders) and some articles which are completely irrelevant to our core business, but which might be of interest to our potential clients. Recently I've been told that it is not a good idea to include these not directly related posts to our core business, because Google might be somewhat confused at to what our core business is all about. I was advised to research this topic and think of completely removing blog posts that are irrelevant to our core business from our blog. By removing I mean completely removing pages and setting a 410 status to tell Google that it is not a 404 error but that these pages were intentionally removed. I would like to hear some independent advice from Moz community as to what I should do? Thank you very much in advance.
Content Development | | Intergaz0 -
Is it ok to have two blogs for my website?
Hi Pep's The blog for my website is integrated, but does not have a URL that matches the text. The company I use for my site say that it can't be changed. Basically it displays numbers instead of text in the url. So I thought, what about starting another blog as well as the original. Would this have any effects on my SEO, negative or positive? Any advice greatly appreciated! 🙂
Content Development | | MissThumann1 -
Is there a quick and easy way to check a website to see which outbound links open in the browser window and not in a new window?
I have just come across a few blogs on a website that have outbound links that open in the browser window (and therefore direct people off site to these links) (there are also other outbound links that open in a new window)- is there a quick and easy way to check which outbounds links open in a new window and which open in the browser window? Much obliged Liam
Content Development | | ZaddleMarketing0 -
How do I fix a broken link to a product category page in wordpress?
We are building a new site currently at http://67.222.109.48/~cheapnan/ I started doing some SEO after the developer I hired failed to do it even though it was in the agreement. I did our old site so I should be able to do this but I am new to wordpress. Now when i go to the products tab at the top of the page the first 2 have broken links, I checked the rest and there are 3 total that I need to fix. I am unsure how to access the navigation so I can fix the links. Please tell me where to look.
Content Development | | cheaptubes0 -
How many articles are ok to publish a day on my website blog?
I have a blog on my website which is a part of the website. Currently I publish one article a day. Is it ok if I increase it to 2 a day? Is there any limitation in order not look negative to Google
Content Development | | AlirezaHamidian0 -
How do I properly sitemap a site with static pages + Wordpress in it's own directory?
I apologize for the awkward wording in the headline. No to the issue, I have a site with static pages that are created as follows: url.com, url.com/page1, url.com/page2, etc. I then have WordPress install at url.com/blog. What is the proper method for creating a comprehensive sitemap for my entire domain. I like the sitemap feature provided by Yoast SEO plugin but I assume it will only index the wordpress directory (url.com/blog). Any help would be greatly appreciated!
Content Development | | Qcmny0 -
Anyone have a collection or list of spammy websites?
Random I know. I started a fun pet project at www.me-not-spammer.info. Total spam. Totally says it's not spam. Satire and all, something only SEO people will get really. Anyway I want to make a sidebar of other "not spammers" and need to find a bunch of spammy websites. Problem is they don't rank in search engines obviously so I know of only the ones who leave comments on some of my wordpress sites. Anyone have a list of a bunch of them so I can link to them in my blogroll?
Content Development | | DanDeceuster1 -
Moving a html site into Wordpress
I'm getting ready to move a site into Wordpress. The current or old site is built with static html pages. My question is, how should I handle Google with these old pages. Should I 301 redirect from each old page to the new? Or is there a better way to handle it?
Content Development | | brandco0