Forums

[resolved] RSS feed returns invalid xml file (9 posts)

  1. odjhlofton
    Member
    Posted 5 months ago #

    I recently updated my wordpress blog to be displayed as my homepage. I've got everything working, permalinks, pages, etc. My site address is http://www.loftonspace.com My supposed rss feed is http://www.loftonspace.com/index.php/feed I know it doesn't seem right to me either. 1. I'd like to get it so that it shows up as .com/feed. 2. I've tried all the other help topics on this subject to no success. I've even tried installing a plugin that supposedly automatically can fix this type of error. I'm a newbie at reading code and finding certain lines of text. Also, I'm visually impaired so finding specific lines of code is hard for my eyes to pick out. I'm hoping someone has a simple solution to my problem. I also should mention the original directory where WordPress was installed changed from .com/news to .com/home. Again, my main homepage is linked to that installation of WordPress.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 5 months ago #

    I also should mention the original directory where WordPress was installed changed from .com/news to .com/home

    And that's probably the root of your problem. How exactly did you carry out this change? Did you follow the instructions in Moving_WordPress?

  3. odjhlofton
    Member
    Posted 5 months ago #

    yes 100% except one part I could not find a file named .htaccess file, but I didn't think it mattered because everything else updated nicely and doesn't that mysterious file update permalinks? So it must have gotten updated somehow. Like I said everything else on the site works perfectly, but what I did was,
    1. I updated the Url settings to this
    WordPress address (URL) http://loftonspace.com/home
    Site address (URL) http://loftonspace.com
    2. changed the index.php to
    /** Loads the WordPress Environment and Template */
    require('./home/wp-blog-header.php');
    ?>wp-blog-header.php');
    ?>blog-header.php');
    ?>;
    ?>
    3. Uploaded the copy of that file to my root directory.
    4. Uploaded the copy of that file to the .com/home directory.
    5. My site is hosted by Yahoo so I went in to my web hosting tools and changed my links in my blog manager to reflect the new directory.
    6. I then was able to log In to my Wp-dashboard.
    7. I downloaded a plugin called Customizable Permalinks and installed and activated it.
    8. I then went to the permalinks setting and selected custom structure and put in this value
    /index.php/%postname%/
    9. After believing that everything was working properly, I wanted to update my rss feed on my facebook page via an application called
    Social RSS
    10. That's when I discovered the error.
    11. Attempting to fix the error I downloaded and installed a plugin called
    Fix Rss Feeds. It didn't work.
    12. That's where I'm at now. Like I said I have a really hard time editing code. I've tried getting rid of some unnecessary white space in some of the key files.
    I did make a test post and it did show up at the supposed rss feed link
    http://www.loftonspace.com/index.php/feed
    It just won't show up using an rss reader application.
    I also should mention I use windows live writer to post to my blog and it updated nicely as well.
    I hope all this info will help and I so very much appreciate it.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 5 months ago #

    I then went to the permalinks setting and selected custom structure and put in this value
    /index.php/%postname%/

    Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

  5. odjhlofton
    Member
    Posted 5 months ago #

    I set my permalinks back to default. Everything still works fine but I still can't get the social apps to read it. My new feed address is
    http://loftonspace.com/?feed=rss2
    Thanks as always for your help.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 5 months ago #

    Your feed file is invalid. Try:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    your index.php is all sorts of goofy

    it shoudl be

    /** Loads the WordPress Environment and Template */
    require('./home/wp-blog-header.php');
    ?>

    not

    /** Loads the WordPress Environment and Template */
    require('./home/wp-blog-header.php');
    ?>wp-blog-header.php');
    ?>blog-header.php');
    ?>;
    ?>

    That is causing your error. It just needs cleaned up a bit, lots of extranneous stuff

  8. odjhlofton
    Member
    Posted 5 months ago #

    I updated my index.php file AND IT WORKED My rss feed is functioning properly now thank you for that updated code. Maybe you could help me with one small problem now.
    http://loftonspace.com/?feed=rss2
    isn't very easy for my users to put lets say in their outlook rss folder. Is there any way to change it to either
    http://loftonspace.com/feed
    or
    http://loftonspace.com/home/feed
    I'd prefer the first on but any will do
    just so there doesn't have to be a "?" or "=" or even an "rss2"
    I have a feeling this will be easier to do than resolving my first problem, but if it can't be done, then I'm not going to try and fix it unless it's broken. Thanks as always for your help.

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    ALl you gotta do is turn on the pretty permalinks feature!

    settings->permalinks

    http://codex.wordpress.org/Using_Permalinks

    That makes all of your links nice and...well...pretty! It would set your feed link as the first example you posted

Reply

You must log in to post.

About this Topic