Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add page number to Category Titles


Guest

Recommended Posts

Posted

Hey there :)

 

I have noticed a while back that Google is showing my categories with pages as having duplicate title tags. I want to add "page 2" etc. to the end of the title so it is different.

 

I am using BTS and a header tag controller but it does not automatically do it

 

I have tried doing some things like changing

 

<title><?php echo TITLE ?></title>

 

to

 

<title><?php echo TITLE . (isset($HTTP_GET_VARS['page'])? ' - page ' . $HTTP_POST_VARS['page'] : '' );?></title>

 

As i read in a thread here, but that did not work.

 

I have tried finding how to do this for a while now, and i cant find anything.

 

Any help on this would be apreciated :)

Posted

Does nobody know how to do this? Its a real pain, i am suprised i cant find a solution anywhere; All i want to do is to have "page title" and when you go to page 2 it has "page title - page 2" and so on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...