Opened 16 years ago
Closed 16 years ago
#13321 closed defect (bug) (worksforme)
robots.txt broken?
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
wp-trunk, no plugins, 2010 theme. visiting this url:
http://localhost/~denis/wp-trunk/robots.txt
results in a 404. It seems like the query parser broke at some point:
$this->query_vars = $this->fill_query_vars($this->query_vars); $qv = &$this->query_vars; var_dump($query, $this->query_vars); if ( ! empty($qv['robots']) ) $this->is_robots = true;
results in:
array(1) {
["pagename"]=>
string(10) "robots.txt"
}
array(43) {
["pagename"]=>
string(10) "robots.txt"
...
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is expected behavior. [14273]