WordPress.org

Forums

RSS doesn't work, get 404 error (34 posts)

  1. jkoole
    Member
    Posted 10 years ago #

    The wonders of open source - I'm up again with the workaround detailed at the link above. Kudos.

  2. dotchris
    Member
    Posted 10 years ago #

    Hi RadicalWacko,

    I see your feed is workin now...

    How did you fix it?

    Thanks

    Chris

  3. danny_butt
    Member
    Posted 10 years ago #

    I've used the workaround to provide feeds (thanks!), but it'd be good to find some way of redirecting the people who are already subscribed to the old RSS feed which no longer works. Any ideas?

  4. jph000
    Member
    Posted 10 years ago #

    Yes, the "fix" at http://mosquito.wordpress.org/view.php?id=903 also worked for me with fresh installs of WordPress 1.5. Glad to find this discussion. :-) Repeating what "toby" wrote there:
    ---
    Not sure why these lines are there, but if you comment out lines 112-115 of wp-blog-header.php, RSS feeds work. In other words, take these lines:

    --------------
        if ( preg_match('/cgi/', php_sapi_name()) )
            @header('Status: 404 Not Found');
        else
            @header('HTTP/1.x 404 Not Found');
    --------------

    and turn them into this:

    --------------
    /* if ( preg_match('/cgi/', php_sapi_name()) )
            @header('Status: 404 Not Found');
        else
            @header('HTTP/1.x 404 Not Found'); */
    --------------
    ---

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags