Jump to content

h1 in category page show "category"


polaije

Recommended Posts

Hello,

I have a new updated site installed with 1.7.3.3 and I discover some seo issues like the tag h1 in category page = category (catégories in french).

When I look in Template category.tpl I see :

<h1 class="h1">{$category.name}</h1>

but the result is not the category name but for all categories "category".

How can I solve this, category.tpl exists in differrent places, where is the right file to find the wrong h1 ?

 

Jean-Marie

Link to comment
Share on other sites

I reply myself with the solution :

in the theme : facets.tpl :

{foreach from=$facets item="facet"}
      {if $facet.displayed}
        <section class="facet">
          <h1 class="h6 facet-title hidden-md-down">{$category.name}</h1>
    

$category.name instead of $facet.title

I hope there is no more such as seo issues in 1.7

 

Jean-Marie

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...