Support » Fixing WordPress » WordPress RSS feed not working

  • hi

    The wordpress rss feed is not working on my site. http://www.keynetix.com/feed

    The validate says there is a problem with the bank first line. I’ve read up around the problem and tried finding the surplus linefeed after ?> But with no luck.

    I think the problem is connected with the theme i’m using, although the RSS feed does work with the theme on other people’s sites. I disabled all the plug-ins and I still had the same problem, however when I changed the theme the RSS feed started working.

    has anyone any suggestions on where or how I could track down the problem. I am a bit of a WordPress and PHP novice, so any step-by-step guidance would be much appreciated or a link to an appropriate article.

    I appreciate any help you give

Viewing 1 replies (of 1 total)
  • Thread Starter Garymorin

    (@garymorin)

    Hi

    having spent a few hours trying to solve the problem and then posting above, I decided to have a new search and found this link straightaway, http://www.w3it.org/blog/wordpress-feed-error-output-solution-how-to/

    It says use these lines in feed-rss.php and feed-rss2-comments.php.

    $out = ob_get_contents();
    $out = str_replace(array(“\n”, “\r”, “\t”, ” “), “”, $input);
    ob_end_clean();

    I’m pleased to say this fix the problem, but I know the linefeed is still lurking in the code somewhere.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress RSS feed not working’ is closed to new replies.