[wp-hackers] Page Redirect from Shortcode

Claude Needham gxxaxx at gmail.com
Thu Oct 6 05:41:35 UTC 2011


To solve a problem for my website I would like to use a shortcode with
the ability to redirect the page depending upon the state of a cookie.

Unfortunately this generates:

Warning: Cannot modify header information - headers already sent by
(output started at
xxxxx/wp/wp-content/plugins/fv-wordpress-flowplayer/view/frontend-head.php:33)
in xxxxx/wp/wp-includes/pluggable.php on line 934

Is there an approach that will get me into the process early enough
that wp_redirect() is still viable?

Thanks,
Claude Needham


More information about the wp-hackers mailing list