[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 06:52:06 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:
---------------------------+------------------------------------------------
Current behaviour:
Visiting http://some.domain.tld/wordpress/robots.txt causes wordpress to
generate a robots.txt file, when actually such a file below the root
directory has no meaning.
Desired behaviour: the robots.txt file is only meaningful when placed at
the root of a domain. So wordpress should only do robots.txt handling if
it is installed at the root of a domain, otherwise return 404 for all such
requests.
Is this too late for 3.0? Feel free to punt. I'm working on a patch anyway
though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13115>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list