Solution for “Warning: Cannot modify header information – headers already sent by” problem in WordPress.