• I can’t get my feeds (RSS, RSS2, Atom) to work from WordPress. They all give the “500 Internal Server Error”.
    From my reading of WordPress support, this error is most often connected with rewrites for the permalinks, but those work fine for me.
    Example permalink (works fine), but my RSS feeds… not so much: Both https://www.jankarlsbjerg.com/blog/feed/rss2/ (redirected) and https://www.jankarlsbjerg.com/blog/wp-rss2.php (the actual file) give the “500 Internal Server Error”. This suggests to me that the .htaccess redirection works perfectly fine, but the feed code produces (or provokes) the server error.
    wp-rss2.php has the same “unix flags” value as the other .php files in the /blog directory (664).
    When I try to access other php files directly, I get other results than the 500 error, for example a (rogue) call to https://www.jankarlsbjerg.com/blog/wp-comments.php produces a nice little page with the text “Please do not load this page directly. Thanks!”
    The domain is hosted on a commercial provider (aplus.net) and the ?¢??????real?¢?????? path to my files (before /blog) is ?¢??????/home/com/jankarlsbjerg/html”. But then again, in the picture upload options, the ?¢??????real?¢?????? path is given as ?¢??????/home/u1/jankarls/html/”.
    Any and all help will be appreciated.
    Cheers from Vancouver, Canada
    Jan Karlsbjerg

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think I responded to a similar thread in the past. Sorry if I could not follow it up.
    Does the file exist? I guess it does.
    Did you make any changes to the wp-rss2.php file?
    The permissions are fine, really.
    Your other feed files do not work either, for example, the wp-atom.php and the wp-rss.php file generate a 500 error too.
    Could you possibly talk to the host about this?

    Put your.htaccess up as a htaccess.txt and i will take a look at it

    Thread Starter JanKarlsbjerg

    (@jankarlsbjerg)

    Well, my host (aplus.net) did a check that PHP was “working fine” on my account and didn’t want to help me beyond that. As they said:

    “We do not debug second or third-party code, therefore the errors generated would be originating from the php script used.”

    I did a little digging myself:

    Here’s hoping that WordPress 1.3 will be more compatible with aplus.net’s installation.
    Next thing to try: unpacking the wp-rss2.php file from the nightly build of WP1.3 and see if it can be plugged-in to my my 1.2 installation.

    I also had the same problem with my RSS feed, but I’ve just found the following simple solution:
    Change line 87 in wp-blog-header.php to:
    @header(a€?Last-Modified: a€?.$wp_last_modified);
    instead of:
    @header(a€?Last Modified: a€?.$wp_last_modified);

    diakrisis:
    Thank you! I’ve been having a similar problem.

    And me thank you.
    You saved me probably hours trawling through all that code ??

    Thank you !!! I had the same problem…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘RSS feeds giving 500 error (permalinks working)’ is closed to new replies.