[wp-trac] [WordPress Trac] #18465: robots.txt should tell Google to not index wp-admin and wp-includes

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 11 03:41:18 UTC 2011


#18465: robots.txt should tell Google to not index wp-admin and wp-includes
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  lowest        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.2.1
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by dd32):

 > Why not just add these lines in the robots.txt?

 You can't use * in the Disallow statements as it doesnt support wildcards,
 It matches from the start of the Path.

 > Disallow: $path/wp-includes

 This should probably be suffixed with / as well to allow pages/posts with
 wp-admin/wp-includes to be indexed

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


More information about the wp-trac mailing list