• I upgraded from 1.2 to 1.5 on one of my sites and since that time, the RSS feeds are not working properly. On 1.2, the url to the feed was https://www.bockes.com/wp-rss2.php. That url hasn’t changed in 1.5 but the feed won’t read. From looking at a couple of other threads I saw where you could add the ?feed to any url to retrieve the feed. However, I’m not keen on having to tell everyone to change the feed url unless I can do a redirect of the old url to the new url. However, seems to me that could potentially create a looping situation. Anyone else have this problem or care. Even if I use the query string to get the feed, the feed doesn’t validate and some readers won’t process it.

Viewing 15 replies - 1 through 15 (of 25 total)
  • It doesn’t validate because it 404’s for some reason. I can go to it directly but when I enter it into the feed validator, I get a 404 error.
    https://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.bockes.com%2Fwp-rss2.php

    Moderator James Huff

    (@macmanx)

    I am confused by that forum….

    do we make this change:

    ‘————–
    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’); */’

    or this change:

    change:
    ‘ (false === strpos($_SERVER[‘PATH_INFO’], ‘index.php’))’
    to
    ‘ (false === strpos($_SERVER[‘PATH_INFO’], ‘.php’))’

    I am confused by the issue also. When I click on the rss feed at the bottom of the 1.5 page I get:

    feed:https://mysite.com/feed/

    This of course produces an error.

    I can manually get the rss by
    https://mysite.com/feed/
    or
    https://mysite.com/rss2/

    But I would like the feed without the drama (the same error also occurs with comment rss)

    Moderator James Huff

    (@macmanx)

    DBockes and Rori, go here and click the “download” link and replace your file: https://cvs.sourceforge.net/viewcvs.py/cafelog/wordpress/wp-blog-header.php?rev=1.131&view=auto

    Americasroof, the feed: is a new syntax which automatically launches your feed reading app when clicked. To remove it, simple access whichever part of your template contains the RSS links and remove it.

    I’m still getting problems too. Although, macmanx, you said my feeds were working OK,
    (blog URL: https://www.godspell.org.uk/wordpress/

    they aren’t getting picked up by Bloglines. There’s the dreaded red exclamation mark next to my blogname, and the error message:

    Bloglines has encountered an error trying to fetch the latest version of this feed. Bloglines handles errors automatically, no action is required by you. The error was:

    The feed does not appear to exist. This can be caused by the feed URL being incorrect, or it can be caused by a configuration issue with the server hosting the feed. If this error continues, you should check the feed URL and, if it is wrong, subscribe to the correct URL.

    Any suggestions, please?

    Thread Starter dbockes

    (@dbockes)

    macmanx, that worked perfectly. Thanks a ton for the help.

    Ok, I think I’m working again. Bloglines needed to be unsubscribed and resubscribed – it didn’t then automatically find the correct URL and I had to do it manually. Something about the set-up of 1.5 seems to confuse it – which is a shame, when everything else works so well.

    Moderator James Huff

    (@macmanx)

    Blogines usually takes 24 hours before it realizes that it can access a feed again.

    does that wp-blog-header file need to be replaced on every theme?

    Hmm, I get 404 when I tried to browse https://myblog.com/feed. As far as I concern, there’s no such feed directory in wordpress. Does it use mod_rewrite?

    I thought it was harcoded in the theme. But after I checked it, the theme uses get_blog_info('rss2') . get_blog_info called get feed_link and get_feed_link some how returns https://myblog.com/feed/ instead of https://myblog.com/wp-rss2.php.

    Any clues? Wrong installation or settings maybe?

    Moderator James Huff

    (@macmanx)

    If you’re using permalinks, your feed will be at /feed/. If not, your feed is at /wp-rss2.php.

    Thanks macmanx. I deleted the “feed:” command from the footer.php in the template files and things work great. I suspect the feed option is probably too high tech for the average user (I too use bloglines to read rss). But if that’s the only thing I have to complain about wp then I don’t have much to complain about!

    Americasroof, the feed: is a new syntax which automatically launches your feed reading app when clicked. To remove it, simple access whichever part of your template contains the RSS links and remove it.

    I am confused by that forum….

    do we make this change:

    ‘————–
    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’); */’

    This is what I did and the RSS2 feeds work agian, I’m using the wp-rss2.php direct urls IE: https://www.domain.com/wp-rss2.php

    Hi Everyone,

    I’ve been struggling with this feed. Keep getting a 404 error with feed validator. I tried the changes above that I could identify, but no luck. Any help is greatly appreciated.

    Here is the feed:
    https://www.sportspodnet.com/americanfan/wp-rss2.php

    Thanks,
    Sam

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘RSS and 1.5 Problem’ is closed to new replies.