[wp-hackers] wp_redirect() fails on Linux

AJ Chen canovaj at gmail.com
Wed Aug 23 05:26:22 GMT 2006

My web2x plugin uses wp_redirect() to start post editor:

It works in my windows xp development environment, but it fails on linux
server with error message:
*Warning*: Cannot modify header information - headers already sent by
(output started at /home/ajchen/public_html/openlab/wp-admin/admin-
header.php:16) in */home/ajchen/public_html/openlab/wp-includes/pluggable-
functions.php* on line *272

*Line 272 is
header("Location: $location");

More information about the wp-hackers mailing list