[wp-trac] [WordPress Trac] #18465: Prevent search engines from indexing wp-admin and wp-includes

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 19:45:29 UTC 2012


#18465: Prevent search engines from indexing wp-admin and wp-includes
--------------------------+-----------------------
 Reporter:  Viper007Bond  |       Owner:  ryan
     Type:  enhancement   |      Status:  reopened
 Priority:  lowest        |   Milestone:  3.4
Component:  General       |     Version:  3.2.1
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by ryan):

 nacin beat me to it by seconds :-), but here's my comment:

 Sending the X-Robots-Tag header after auth_redirect() in admin.php seems
 useless since logged in pages shouldn't be crawled. And there doesn't seem
 like there'd be any value in sending the header before auth_redirect().

 wp-login.php and wp-signup.php already use wp_no_robots(). That leaves
 admin-ajax.php. It doesn't have a head so using the X-Robots-Tag header
 seems appropriate.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18465#comment:36>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list