Forums

[resolved] RSS broken after export / import (2 posts)

  1. jimrobson
    Member
    Posted 4 years ago #

    Hello all,

    I just imported my blog to my own server, and the RSS is not working there.

    I have tried to troubleshoot it myself, and discovered that the function bloginfo() is returning strange results.

    The new URL of my blog is http://www.robsondesign.com/blog so I would expect the URL of the feed to be http://www.robsondesign.com/blog/feed/ (if that's not correct please let me know).

    However, where header.php makes the following call:

    bloginfo('rss2_url');

    The output is as follows:

    http://www.robsondesign.com/blog/index.php/feed/

    For some reason, bloginfo() is inserting index.php between the directory names. Also, I've checked, and the "feed" directory is empty, even though its permissions are set to be write-able.

    Please help!

  2. jimrobson
    Member
    Posted 4 years ago #

    I resolved the issue by turning off the pretty permalinks and clearing my browsers' cache. I believe that the mistake I made was importing my blog with the pretty permalinks turned off, and then turning them on. This resulted in broken links when clicking to view a post or comments, so I turned them back off. This fixed the post and comment problem, but I was still getting the error mentioned above until I cleared the browser cache, closed and restarted the browser. This explains why there was nothing at blog/feed/ but it doesn't explain why bloginfo() was returning spurious URLs.

Topic Closed

This topic has been closed to new replies.

About this Topic