Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-21 08:05:53

beechy
Member
Registered: 2006-03-02
Posts: 92

Implementing rel=”next” and rel=”prev”

Does anyone have any ideas on how the new google pagination could be implemented on a textpattern site?

http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html

Offline

#2 2011-09-21 08:11:48

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: Implementing rel=”next” and rel=”prev”


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

#3 2011-09-21 10:59:08

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Implementing rel=”next” and rel=”prev”

There are the linkt_to_prev/last tags and the if_first/if_last_article conditionals. You can easily combine them to reflect exactly which kind of output the pages need. See example 3 on link_to_next


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2011-09-21 11:05:31

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Implementing rel=”next” and rel=”prev”

Bear in mind that rel="next" and rel="previous" should only be used when an article itself is subdivided into more than one page (i.e. a long article that spans multiple pages on a site), NOT for pagination between pages of lists or separate articles unless they are in the same context (i.e. displaying articles by a certain category, or a group of related products).

More info here

Last edited by philwareham (2011-09-21 11:07:29)

Offline

Board footer

Powered by FluxBB