WordPress.org

Ready to get started?Download WordPress

Forums

RSS Feed is not recognized (4 posts)

  1. parimels
    Member
    Posted 8 years ago #

    Alright, I've gone thru' most of the forum and tried
    -Changing 'Content-type: application/xml'
    The feed is supposed to be at:
    http://kirukkalgal.com/wordpress/wp-rss2.php

    I could see the xml file both in IE and Firefox, but I can't get the feed in bloglines or feedvalidator.

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fkirukkalgal.com%2Fwordpress%2Fwp-rss2.php

    It gives me a 404 error.

    RSS autodiscovery works with Firefox.

    Editing .htaccess is NOT an option, since I can't.

    I have WordPress 1.5 installed.

    Any help is appreciated.

  2. tismey
    Member
    Posted 8 years ago #

    1.5 or 1.5.1? There's a bug with RSS feeds in 1.5 which erroneously reports a 404

    If for some reason you can't upgrade to 1.5.1 then the fix is this:

    In the wp-blog-header.php in the wordpress root, find the section near the top which is

    if ((isset($_GET['error']) && $_GET['error'] == '404')

    ((! empty($_SERVER['PATH_INFO'])) && ('/' != $_SERVER['PATH_INFO']) &&

    (false === strpos($_SERVER['PATH_INFO'], 'index.php'))

    )) {

    and change that check and the end to

    (false === strpos($_SERVER['PATH_INFO'], '.php')

    In other words, just delete the index bit. Should work fine now.

  3. James
    Happiness Engineer
    Posted 8 years ago #

    There's also a bug in v1.5.1 that caused the feeds to be blank at certain times. So, please upgrade to v1.5.1.2 if you can.

  4. parimels
    Member
    Posted 8 years ago #

    Thanks!
    I would never have figured that out.
    I may selectively upgrade to v1.5.1.2(just copy the changed files), as I've lost track of changes I made.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags