[wp-hackers] prevent indexing of page 2,3 and so on

Rich ZenMaster richzenmaster at gmail.com
Fri Oct 22 05:32:41 UTC 2010


Do you know how to prevent indexing of pages past the home page in WP?
I mean I don't want mysite.com/page/2, mysite.com/page/3 to be indexed.

This is because I use home.php for my theme, so that page/2, page/3
are all the same.

Please give me a hint or a code snippet please, I don't want to add another
plugin (robots meta).


More information about the wp-hackers mailing list