[wp-trac] [WordPress Trac] #28556: robots.txt is not auto generated.

WordPress Trac noreply at wordpress.org
Mon Jun 16 15:44:03 UTC 2014


#28556: robots.txt is not auto generated.
-------------------------------+-----------------------------
 Reporter:  nicola.peluchetti  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Query              |    Version:  3.9.1
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 If i have no robots.txt in my wordpress install and visit the robots.txt
 file in the browser, nothing is generated and a 404 is returned. No plugin
 installed, no permalinks enabled.
 I've looked at the code and there doesn't seem to be any check for crawler
 user agent and i've got an old site in wordpress 3.5.1 which actually
 works.
 I was trying to test a function that adds my rules to robots.txt.
 To reproduce, simply try to visit the robots.txt file in your browser.
 If i force it in query.php by returning true from is_robots, also a notice
 appears.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28556>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list