[wp-trac] Re: [WordPress Trac] #8176: page name /robots-txt/
creates confused with robots.txt
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 12 15:16:40 GMT 2008
#8176: page name /robots-txt/ creates confused with robots.txt
----------------------------------+-----------------------------------------
Reporter: Jean-LucfromBrussels | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------------+-----------------------------------------
Comment (by Jean-LucfromBrussels):
Thanks ionfish,
I understand that. I reported this as a bug, because I do not think there
is a good reason to confuse ''robots-txt'' with ''robots.txt''.
I will reformulate my question: Is there a way to make WordPress rewrite
''robots.txt'' and not ''robots-txt'' ?
I changed line 808 in /wp-includes/rewrite.php in
{{{
$robots_rewrite = array('robots\.txt$' => $this->index . '?robots=1');
}}}
but this did not help.
--
Ticket URL: <http://trac.wordpress.org/ticket/8176#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list