[wp-trac] Re: [WordPress Trac] #2860: Using wp_redirect when headers are sent

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 13 20:28:09 GMT 2007

#2860: Using wp_redirect when headers are sent
 Reporter:  robmiller              |        Owner:  robmiller
     Type:  defect                 |       Status:  assigned 
 Priority:  normal                 |    Milestone:  2.2      
Component:  General                |      Version:  2.1      
 Severity:  normal                 |   Resolution:           
 Keywords:  has-patch 2nd-opinion  |  
Comment (by tombarta):

 If the page is already expecting to redirect, it should not have any
 content displayed, and it would seem pretty easy just to write a valid
 HTML document along the lines of
   <head><meta refresh-magic-syntax></head>
     <p>Sorry, automatic redirection failed.
     You should <a href="wherever-we-are-redirecting">continue here</a>.

 That way, you get Javascript redirection as a fallback plus a plain old
 link as a secondary fallback.

Ticket URL: <http://trac.wordpress.org/ticket/2860#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list