[resolved] Custom permalinks break RSS feeds. (5 posts)

  1. advbimbling
    Posted 5 years ago #

    If I activate my custom permalinks, the RSS feed for my site AdventureBimbling.com, goes down. If I deactivate the custom permalinks the RSS feed comes back again. I've been confounded by this for days, any ideas?

    The feed address seems to be redirected to http://www.adventurebimbling.com/feed/ where I am supplied with a helpful:
    Index of /feed

    Feedburner reports the following error if I try to sync the feed:
    The URL you entered does not appear to be a valid feed. We encountered the following problem: Error on line 1: White spaces are required between publicId and systemId.

    Feedburner is set to receive rss updates via:

    This was the address before I started using custom permalinks. It also seems to redirect to the empty /feeds/ directory. Any attempts to change the address in feedburner fail as not found or invalid.

    My .htaccess is:

    php_value auto_append_file none

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    The first line strips out some server side spam that my webhost was appending to files.

    Any help will be very very much appreciated as my head now thoroughly hurts.



  2. cCat5564
    Posted 5 years ago #


    Can you try

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]


  3. advbimbling
    Posted 5 years ago #

    Thanks cCat5564,

    I tried putting the code into my .htaccess file but the feed still resolves to the empty http://www.adventurebimbling.com/feed/ address.

    I don't know why but with the new code the entire site slowed down to a crawl pace.

    I'm at a real loss...

  4. Do you already have a /feed directory on your server? If so, remove it.

    And put the original htaccess rules back.

  5. advbimbling
    Posted 5 years ago #

    Otto sir I bow down before your genius!

    I knew I would be overlooking something simple. If it's not massively complicated, I won't spot it lol.

    There was no feed folder on my local host, but I checked using filezilla and sure as day, there it was. I don't even know how it got there, probably a remnant of some past dabbling.

    I've spent days neck deep in code trying to fix this ><

    Thank you so so much :D

Topic Closed

This topic has been closed to new replies.

About this Topic