February 27th in Wordpress by .

[Fix] Warning: Cannot modify header information – headers already sent by wp-config.php

i recently made a small change to wp-config.php after download using FTP software and when i was deleting my spam comments this error suddenly was thrown out in my blog..

Warning: Cannot modify header information – headers already sent by (output started at ***/wp-config.php:29) in /home/***/wp-includes/pluggable.php on line 213

I did figure out what the problem was. Here is the FIX:

Open wp-config.php and see if there is any blank lines and white spaces both on top and bottom of file within php quotes. If so delete them

NOTE: Being PHP programmer myself, i know that “Headers already sent” most commonly caused by white spaces or new lines in php scripts.

Similar Posts:

6 Comments

  • Austin
    March 5, 2009
  • mhamed
    September 6, 2009
  • sinaknows
    December 12, 2009
  • catatanku.info
    February 11, 2010
  • Louis
    September 23, 2010
  • SL
    October 15, 2010

Leave A Comment.





Please wrap all source codes with [code][/code] tags. Powered by