#3166 closed defect (bug) (fixed)
wp_redirect should output correct status headers
Reported by: | leflo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | 2.0.4 |
Component: | General | Keywords: | wp_redirect, has-patch |
Focuses: | Cc: |
Description
If wp_redirect() is called after wp() it only sets the "Location: .." header, yet the HTTP status code is set to 200 (or 404) by WP::handle_404 ().
http://comox.textdrive.com/pipermail/wp-hackers/2006-September/008695.html
Attachments (1)
Change History (8)
#5
@
17 years ago
Perhaps this will also fix these tickets:
http://trac.wordpress.org/ticket/2409
and
http://trac.wordpress.org/ticket/2360
...?
Note: See
TracTickets for help on using
tickets.
(In [4252]) Send 302 on redirect. Props leflo. fixes #3166