I’ve developed a new opted-in page WordPress plugin with an associated squeeze page shortcode. The code isn’t really about what goes on the squeeze page, it’s more about the opt-in form and the logic in the opted-in page(s). The trouble was, even though everything seemed to work fine on my development machine, as soon as I installed the first version elsewhere I got the Warning message that said “Cannot modify header information – headers already sent”. And it turns out that my first attempted solution was wrong… very wrong.
Last updated:August 18, 2014