Product name as h1 or h2 (SEO)

  • Posts: 152
  • Thank you received: 0
13 years 4 months ago #21931

I've just changed the 'product' / 'show' view so that the product name is now in h1 tags.

Would this not be better for SEO?

I'm just wondering why this wasn't set as default? Is it just incase there were other h1 tags present in the template? Or is there something I haven't thought about?




<h1>
<span id="hikashop_product_name_main" class="hikashop_product_name_main">
<?php
echo $this->element->product_name;
?>
</span>
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
</h1>


Create your own style of luxury bespoke furniture online

Please Log in or Create an account to join the conversation.

  • Posts: 83020
  • Thank you received: 13402
  • MODERATOR
13 years 4 months ago #21937

It seems to be a mistake. We'll change that for next version. Thank you for the report.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum