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 | Sep 11, 2020, 5:11 AM | Intergaz0 -
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 | Dec 14, 2015, 12:09 PM | ZaddleMarketing0 -
Breaking a Big Website into Multiple Unrelated Sites
I have a big cluttered website that I want to simplify. There is content for patients, researchers, therapists who are looking for grants, etc.. Would it be a bad ideas to turn these into 3 or more, completely different sites with each focused on their specific demographic? Or should I just figure out how to organize the one site better? Thanks for your help!!!
Content Development | Nov 2, 2015, 12:46 PM | bosleypalmer0 -
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 | Jun 18, 2015, 8:45 AM | cheaptubes0 -
Can We Publish Duplicate Content on Multi Regional Website / Blogs?
Today, I was reading Google's official article on Multi Regional website and use of duplicate content. Right now, We are working on 4 different blogs for following regions. And, We're writing unique content for each blog. But, I am thinking to use one content / subject for all 4 region blogs. USA: http://www.bannerbuzz.com/blog/ UK: http://www.bannerbuzz.co.uk/blog/ AUS: http://www.bannerbuzz.com.au/blog/ CA: http://www.bannerbuzz.ca/blog/ Let me give you very clear ideas on it. Recently, We have published one article on USA website. http://www.bannerbuzz.com/blog/choosing-the-right-banner-for-your-advertisement/ And, We want to publish this article / blog on UK, AUS & CA blog without making any changes. I have read following paragraph on Google's official guidelines and It's inspire me to make it happen. Which is best solution for it? Websites that provide content for different regions and in different languages sometimes create content that is the same or similar but available on different URLs. This is generally not a problem as long as the content is for different users in different countries. While we strongly recommend that you provide unique content for each different group of users, we understand that this may not always be possible. There is generally no need to "hide" the duplicates by disallowing crawling in a robots.txt file or by using a "noindex" robots meta tag. However, if you're providing the same content to the same users on different URLs (for instance, if both example.de/ and example.com/de/ show German language content for users in Germany), you should pick a preferred version and redirect (or use the rel=canonical link element) appropriately. In addition, you should follow the guidelines on rel-alternate-hreflang to make sure that the correct language or regional URL is served to searchers.
Content Development | Jun 13, 2016, 9:32 AM | CommercePundit0 -
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 | Aug 31, 2013, 2:14 AM | Qcmny0 -
Should I Have No Index, No Follow On Blog Category & Tag Pages?
At some point in the past I read or was told that No Index, No Follow tags on category and tag pages were a good thing on a standard WordPress blog in order to prevent duplicate content issues. Is this still true or was it ever true?
Content Development | Jun 22, 2011, 7:14 PM | eTundra0 -
Duplicat Website Content? (UK, Ireland)
Hi, My website is based in Ireland on a .ie domain & now I would like to enter the UK market on a .co.uk Is it ok for me to duplicate my .ie website and provide all the information on a .co.uk OR is this considered duplicate content in terms of Google. (I'm led to believe that your own content on my domain's is not considered duplicate & this is only considered duplicate content when you go from .com to .ie, .co.uk etc). (all content, images, branding are my own).
Content Development | Jun 18, 2011, 5:53 PM | GlenBOB0