Adding both lines from BirdOPrey5 and Smitty in one like this :
Code:
<if condition="(THIS_SCRIPT == showthread) OR (THIS_SCRIPT == showpost) OR (THIS_SCRIPT == printthread) OR (THIS_SCRIPT == forumdisplay)">
<link rel="canonical" href="$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />
<link rel="canonical" href="$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />
</if>
<if condition="THIS_SCRIPT == index">
<link rel="canonical" href="$vboptions[bburl]" />
</if>
Is this correct ?