Preventing Search Engines Indexing Pages 2, 3 and More?

Question

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).

0
RichZenMaster 4 months 0 Answers 21 views 0

Leave an answer