Support » Fixing WordPress » Custom permalinks break RSS feeds.

  • Resolved advbimbling


    If I activate my custom permalinks, the RSS feed for my site, 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 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.



Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    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]

    Thread Starter advbimbling


    Thanks cCat5564,

    I tried putting the code into my .htaccess file but the feed still resolves to the empty 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…

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

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

    And put the original htaccess rules back.

    Thread Starter advbimbling


    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 😀

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom permalinks break RSS feeds.’ is closed to new replies.