Jump to content

[SOLVED] Why is my h1 tag missing or corrupted?


Jamesh388

Recommended Posts

When I check the HTML of my category or product pages, the "h1" has some extra text on the end. Eg: here, my category name in CMS is just "Lighting", but when I check the HTML it's shows as "Lighting&nbsp":

 

post-1161281-0-63357400-1484649291_thumb.png

 

So, I'm wondering what this "...nbsp" is, and if it's affecting my SEO?

 

Also, when I use a diagnostics tool like SEOQuake, it says the h1 tag is missing completely:

 

post-1161281-0-09534900-1484649294_thumb.png

 

But then it lists my h1 as "Lighting" (which is correct)

 

Much appreciate any advice on this - should I be concerned?

 

Thanks :)

Edited by Jamesh388 (see edit history)
Link to comment
Share on other sites

nbsp is a 'non-breaking space', which is a special keyword in html to add a space.  This just means your Category name has a space at the end of it, or perhaps your theme has a space after the name appears

 

Thanks bellini13 - do you think the "nbsp" would affect how search engines crawl my pages? I mean would they still read the h1 as "Lighting"?

 

I'm just concerned, because I know how important h1 tags are for on page SEO...

Link to comment
Share on other sites

I'm sure they would read is as though there was a space at the end.  It really should be easy to fix, the issue is one of 2 things

1) You have a space in the name, which you can easily check and remove

2) You have a space in the theme template file, which can be easily removed

Link to comment
Share on other sites

  • 3 weeks later...

I'm sure they would read is as though there was a space at the end.  It really should be easy to fix, the issue is one of 2 things

1) You have a space in the name, which you can easily check and remove

2) You have a space in the theme template file, which can be easily removed

 

A belated thanks for your advice and I have marked this as SOLVED.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...