Jump to content

How to cut down on some dublicate content at categories


Timpet

Recommended Posts

Dublicate content is a bitch, it gives your page bad points at google, so i have cut down some of it in the categories.

In each categori there is a decription, when this decription keeps comeing up on page 1, page 2, page 3 and so on of the same categori this creates dublicate content.

The tekst is though good the SEO so removing it completly is no good, there for i modified my themes category.tpl and category.php to cut down on the reaccuring content.

at category.tpl find:

{if $category->description}
{$category->description}
{/if}



Replace with:

{if $category->description}
     {if !$page_} 
{$category->description}
     {/if}
{/if}



At at category.php find:

$smarty->assign(array(
   'allow_oosp' => intval(Configuration::get('PS_ORDER_OUT_OF_STOCK')),
   'suppliers' => Supplier::getSuppliers(),
   'errors' => $errors
   ));



Replace with:

$smarty->assign(array(
   'allow_oosp' => intval(Configuration::get('PS_ORDER_OUT_OF_STOCK')),
   'suppliers' => Supplier::getSuppliers(),
   'errors' => $errors,
   'page_' => $_GET['p']
   ));

Link to comment
Share on other sites

  • 4 months later...

Hi

I have no idea if this is the same as i am not so good at seo. I have search in the forum and could'nt find anything. What i wounder is if its bad to have same name on several subcategories?

For exemple
Categori1: Woman
Subcategori1: Pants
Categori2: Man
Subcategori2: Pants

and so on. Is that bad in any point?

Link to comment
Share on other sites

Ok, then its ok for me. Thanks.

About this Meta i understand its for SEO improvment. Where can i find info on the difference for those Meta Title, Meta Description and Meta Keywords?

Do they show up on search engines? And what is shown if i dont fill in them?

Link to comment
Share on other sites

First off all it is'nt called meta title ;) Only title.

The keywords are not used much in seach engines these days, but i would recommend filling them out, perhaps one day search eniges will again look at them :)

Title and meta description does show on google etc.

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