Jump to content
Latest News: (loading..)
daanhessels

Header Tags SEO quistion

Recommended Posts

Posted (edited)

i using header tags seo and the catgorie page have a catogorie title h1

after some text have h2 and this not good ? 

how can i change this so its normal text.

 

Thanks

catogorie.png

catogorie1.png

Edited by daanhessels

Share this post


Link to post
Share on other sites

I don't see why using h2 is not good but if you want to change it, you need to edit the code added to the index.php and/or index page modules.

Also, in the future, please ask questions about an addon in that addons support thread. 

 

Share this post


Link to post
Share on other sites
38 minutes ago, Jack_mcs said:

I don't see why using h2 is not good but if you want to change it, you need to edit the code added to the index.php and/or index page modules.

Also, in the future, please ask questions about an addon in that addons support thread. 

 

thanks for the reply

 

<?php 
/*** Begin Header Tags SEO ***/ 
if (tep_not_null($category['categories_htc_description'])) { 
   echo '<h2 style="text-decoration:none;">' . $category['categories_htc_description'] . '</h2>';
}  found it on index.php

but i always learned 

h1
text
h2
text

that way but if the text have the h2 it dont mind to ?
And next time i will posted it on the addon thread

Share this post


Link to post
Share on other sites

Is the complaint here that a paragraph of text is being placed under an <h2> tag, or that there is a place for <h2> header content and nothing was supplied? The former case is an abuse of a header tag, while the latter simply means that any missing header content should be dealt with in an appropriate manner (e.g., suppress the <h2> output). I agree with Daan that a multiline description should simply be a paragraph, while a short single line could be within <h2>. What is the intent here?


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites

I think you might be confusing the use of header tags (h1, h2, etc.) for SEO compared to the recommended format of html coding. For SEO, the h2 tag is mostly ignored as a ranking factor. For html, h2 should be used in text following an h1 tag.

But if you are asking about the code being <h2><p></p></h2>, that is not due to Header Tags SEO code. It just adds the <h2></h2>. The <p></p> is coming from your description. 

Share this post


Link to post
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

×