[wp-hackers] prevent indexing of page 2,3 and so on
Jeremy Visser
jeremy at visser.name
Mon Oct 25 13:26:21 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
scribu said:
> On Sun, Oct 24, 2010 at 3:56 PM, Jeremy Visser <jeremy at visser.name> wrote:
>> (Yes, you'll need to hook into do_robotstxt to add that line, but that's
>> left as an exercise to the reader.)
>
> You only need to do that if you can't create the robots.txt file on your
> server.
That's right.
I didn't mention that because the robots.txt generated by WordPress
differs based on the privacy setting you have chosen (and brevity is the
soul of...well, you get the idea). If that's not an issue, by all means
go ahead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzFhX0ACgkQvs6Qqs8TxBrh2QCfRkAQhm26c0uT5QZuERmmPL0K
pbwAn2qgAXgU2aT7IM4sxRken9CudI32
=SAWp
-----END PGP SIGNATURE-----
More information about the wp-hackers
mailing list