WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13321 closed defect (bug) (worksforme)

robots.txt broken?

Reported by: 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)

comment:1 nacin4 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.