#3166 closed defect (bug) (fixed)
wp_redirect should output correct status headers
| Reported by: | leflo | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | General | Version: | 2.0.4 |
| Severity: | normal | Keywords: | wp_redirect, has-patch |
| Cc: | Focuses: |
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
@
20 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [4252]) Send 302 on redirect. Props leflo. fixes #3166