Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm helping a friend set up a self-hosted Wordpress blog + feedburner and I'm seeing a problem with the feeds that I'm finding somewhat mysterious. Using the default permalink structure (e.g., ?p=123) everything works as expected; I can follow the feed in Google reader, navigate to it manually, and set it up in feedburner.

However, once I switch away from the default permalink structure, feedburner and feedvalidator both report that accessing the feed is returning HTTP-404 and Google reader no longer shows new posts (I'm assuming for the same reason), but I can navigate to the feed using a browser. When I do that it appears as though nothing is wrong; there is a feed there and it contains all the posts I expect it to have. I've re-started the feedburner & reader set-up from the beginning after changing the link structure, so I don't think they're doing anything silly like looking at the feed at its old address.

I've seen people with similar problems in various other places but there doesn't seem to be a good answer anywhere.

share|improve this question

2 Answers 2

Be sure you have only one rewrite block in your .htaccess and it's correct for the permalink structure you want. WP will write multiple times to your .htaccess, and there can be rewrite conflicts.

Look in your logs to see the exact URL that's throwing a 404. Look at the feed links in your theme and be sure they are accurate, and switch to the default WP theme and test your feed links and permalinks there, too.

share|improve this answer

This article explains what I used in the past: http://fseek.me/2010/03/htaccess-to-redirect-your-feeds-to-feedburner/

Just added at the end of the htaccess:

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.+)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC]
RewriteRule .* http://feeds.feedburner/fseekme [R=307,L]
RewriteRule ^comments/?.*$ http://feeds.feedburner.com/fseekmecomments [L,R=302]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.