WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#18841 closed defect (bug)

Sites with default permalinks do not return 'robots.txt' — at Initial Version

Reported by: mbijon Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.3
Component: Permalinks Keywords: 2nd-opinion dev-feedback close
Focuses: Cc:

Description

Currently there is no .htaccess file when Permalinks are on the default (ie: /?p=123) setting.

Without an .htaccess file Apache does not direct requests for non-existent files to WordPress. Directing the request to WP is needed so the 'do_robots' or 'do_robotstxt' actions can respond with the rules set by the user in Permalink Settings.

  • Browsers other than Apache likely have the same problem, but I have not tested them
  • This occurs in 3.2.1 and 3.3

I've marked severity 'major' since this undermines the Privacy Settings panel & may not meet user expectations. Please modify if this is not appropriate.

Change History (0)

Note: See TracTickets for help on using tickets.