I maintain a WordPress site (I'm a programmer but don't have much WordPress experience), and we've noticed that Google is ending up with high-ranked links to "pages" on the WordPress site that we don't really want to be available, such as:
sitename.net/?author=2
which lists a dump of all pages written by author number 2, which were supposed to only be viewed in a certain way where they're organized and presented as intended. Is there a way to disable this feature, and/or redirect links to such things to the main site or some other relevant URL?
template_redirect
hook so that you can safely redirect to another page, and within that hook you can check if the current page is an author page by callingis_author
functions.php
file in your twenty-twelve theme directory