News pagination with NOFOLLOW
Posted: Mon Aug 11, 2008 10:18 am
Hi,
when you add a news overview to your home page and use pagination, you wont get pretty URLs.
The code in the template is:
Now, you get duplicate content. Because the next "newspage" is loaded in the same page (the home page in my example), but gets a different URL. A nasty long one.
There links should either have a "rel=nofollow" atribute or use pretty URLs.
Any solution, anyone? Do I miss something?
Cheers,
Alex
when you add a news overview to your home page and use pagination, you wont get pretty URLs.
The code in the template is:
Code: Select all
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}
There links should either have a "rel=nofollow" atribute or use pretty URLs.
Any solution, anyone? Do I miss something?
Cheers,
Alex