I dont have idea how to solve title

ManuelF

Junior Member
Joined
Jun 5, 2009
Messages
107
Reaction score
43
Hello,

Can someoe help me, I have the script but there is a problem with duplicate title in my webmasters tools section.

In the catgories on site I get everytime the same title for page 1,2,3,4...


Here are a few lines of the browse.php for category page.

I would like to include $sitename2 = $categoryname + (page number, depends on which page you are currently in.)

This is for me really hard I tried something but I dont understund the code.


Code:
    $sitename2 =  "  ".$categoryname;
    $sitedescription = $categorydescription;
    $sitekeywords = $sitekeywords.", ".$categorykeywords;

Is here anyone who can help me with a file.

Thank you for your time.
 
Last edited:
It's a bit hard to answer you without looking at more of the code specifically how it stores the page number it's on.
If I understand what you want correctly it should be as easy as doing
Code:
$sitename2 = " " . $categoryname . $page

Would you be able to share more of the code?
 
Probably you have a parameter with the number of the page. Like /yourfile.php?[COLOR=Red]page[/COLO...pt it to your script. I think it 's not hard.
 
Back
Top