Yii 1.1: seo-link-pager

Generates rel="prev" and rel="next" links and meta tags

For paginated content, google recommend putting rel="prev" and rel="next" links on the anchors and on meta elements in the head section.

This pager creates that automatically, extending CLinkPager


Yii 1.1.10


Simply use this class as a pager class

$thiswidget(myListView’, array(dataProvider’=>$dp,
‘pager’ => array(class’ => ‘SeoLinkPager’,


Project page on Github

Video about pagination with rel prev and next on Google Webmaster Central

Total 2 comments

#16971 report it
CeBe at 2014/04/17 07:09am
part of yii2
#16969 report it
darkheir at 2014/04/17 05:13am
Great extension

Great extension, it should be in the core framework!

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: chux
  • Category: Others
  • Votes: +3
  • Downloaded: 391 times
  • Created on: Apr 21, 2012
  • Last updated: Apr 21, 2012
  • Tags: pager, seo