#3166 closed defect (bug) (fixed)
wp_redirect should output correct status headers
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | 2.0.4 |
| Severity: | normal | Keywords: | wp_redirect, has-patch |
| 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)
comment:5
trevorturk — 7 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