Support » Fixing WordPress » Header trouble with /feed

  • Hi,

    When navigating to, the following message appears, but plain text content from our site still appears – “Warning: Cannot modify header information – headers already sent by (output started at /home/oagglec1/public_html/index.php:27) in /home/oagglec1/public_html/wp-includes/feed-rss2.php on line 8”.

    Are there any solutions to this as of now? I’ve scoured the web but can’t seem to find anything that can help.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi oaggle. There seems to be an error at Line 27 of the index.php residing at root which is affecting the file located at wp-includes/feed-rss2.php which is curious, because the index.php file at root does not have 27 lines.

    Looking at your source code i see a bunch of javascript at the beginning of your document – it should not be there. My guess is this code was somehow inserted in the index.php file at root. Did you inadvertently do that? If not, we have a bigger problem.

    Hi Len,

    I’ve just read over what you said, and it seems you’re right – I’ve removed the javascript at index.php, and the ‘Warning: cannot modify header information’ etc has disappeared.

    Could you please go to and tell me if it’s supposed to look like that? I’m sure it is, but I just wanted a second approval.

    I’m now going to set up a Feedburner account, and hopefully make something out of it that way.

    Thanks a lot, Len!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header trouble with /feed’ is closed to new replies.