Cannot modify header information – headers already sent
-
When I use
wp_redirect("xxx",302);
exit;An error will be generated. And it doesn’t work
NOTICE: PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /www/sites/www.xxx.com/index/wp-content/plugins/wp-fastest-cache/inc/admin-toolbar.php:35) in /www/sites/www.xxx.com/index/wp-includes/pluggable.php on line 1435
I want to know how to ensure that redirection works?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cannot modify header information – headers already sent’ is closed to new replies.