Whenever I use wp_redirect(plugins_url('account/login'));
in a shortcode function I get the following error:
Warning: Cannot modify header information - headers already sent by ...
Is there any way to redirect from there? My guess would to echo some Javascript that does the redirect from me, but I was wondering whether there would be a server-side implementation of this.
?>
tag at the end ? if yes remove it and try again?>
in any of my plugin files