3 | | There may be a better way organizationally to implement this but it wasn't obvious so I thought I'd post this and take a second look tomorrow. The one-liner does what I was talking about to address the double-indexing issue. |
| 3 | There may be a better way organizationally to implement this but it wasn't obvious so I thought I'd post this and take a second look tomorrow. The only other code that checks whether replytocom is set is in comments-template.php -- not sure it makes sense to add an action to wp_head from there. |
| 4 | |
| 5 | The one-liner does what I was talking about to address the double-indexing issue. |
| 6 | |
| 7 | Incidentally, there are other URLs we might want to protect from indexing always, for instance wp-login.php (I always put /*.php in robots.txt). |