[wp-trac] [WordPress Trac] #13115: Wordpress should not serve robots.txt when it is not installed at the root of a site
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 26 07:31:33 UTC 2010
#13115: Wordpress should not serve robots.txt when it is not installed at the root
of a site
---------------------------+------------------------------------------------
Reporter: solarissmoke | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Rewrite Rules | Version: 3.0
Severity: normal | Keywords: dev-feedback
---------------------------+------------------------------------------------
Comment(by nacin):
We should probably do this check instead when generating the rewrite
rules, and decline to add robots.txt to the rules if we're not root.
We do the similar parse_url() check in rewrite.php, query.php,
classes.php, etc. -- that seems okay.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13115#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list