Add "noindex, follow" to paginated pages except index.php

Hi there,

I am trying to add to my pagination helper "noindex, follow" to all paginated pages greater than 1 (1 is index.php) to my blog page list on my home page.

I've implemented Matt Waters Add rel="nofollow" to the helpers file:

I'm not proficient in php so I'm wondering if I can alter this snipped of code and put: rel="noindex,follow" and it will be applied to any pages 2 and greater. Because once you're on the 2nd paginated page, the code will read that page 1 should be "noindex,follow" which, it needs to be indexed.

I've read around that what is more commonly used is:
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW"> but I'm unsure of how to add that to only paginated pages while excluding my home page.

Any help is greatly appreciated.

View Replies: