Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13321 closed defect (bug) (worksforme)

robots.txt broken?

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

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"
...

Change History (1)

#1 @nacin
14 years ago

  • Milestone 3.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

This is expected behavior. [14273]

Note: See TracTickets for help on using tickets.