I just migrated a site from WordPress to Drupal and I am getting hammered with page not found errors for the RSS feeds. Particularly feed/rss2 and feed/atom.

Can I provide these feeds with Drupal?

Should I somehow rewrite or redirect these feeds to the Drupal default node/feed?

What is the most seamless way to go about this?

The site is http://goldenfiddle.com.

Comments

eaton’s picture

Turn that puppy on in the modules section of the admin page. Then, you'll be able to map any URL you'd like to the RSS feed.

To generate an atom feed, you'll want the Drupal atom module.
--
Jeff Eaton | Click Here To Find Out Why Drupal "Sucks"

--
Eaton — Partner at Autogram

robertDouglass’s picture

Eaton's advice is the right way, but make sure you're using clean URLs (admin/settings).

When you first turn on the path.module there is already one alias for the main rss feed that you can use as an example. Go to administer->url aliases and you'll see this:

Aliassort icon System Operations
rss.xml node/feed edit delete

You can make an additional alias for node/feed based on whatever 404s you're getting from your Wordpress days.

- Robert Douglass

-----
My sites: HornRoller.com, RobsHouse.net

gerd riesselmann’s picture

Above posters are right about path.module. This is definitly required.

However, this will only cover the RSS feed, If you want Atom feeds, you may want to install the atom.module. Don't forget to give it a path alias, though.

You may also try my own totalfeeds.module, which however is still beta. It was written with WordPress' feed support in mind (i migrated a few weeks ago). It can be found on my site.

Another possibity is to use Feedburner to manage your feeds. Feedburner takes one input feed (node/feed) and spits out feeds in numerous different formats. You need some .htaccess magic to redirect your feeds to Feedburner, though:

RedirectMatch temp ^/feed/(rdf|rss|rss2|atom)/?$ http://feeds.feedburner.com/YOUR_ID
Redirect temp /wp-atom.php http://feeds.feedburner.com/YOUR_ID
Redirect temp /wp-rss.php http://feeds.feedburner.com/YOUR_ID
Redirect temp /wp-rss2.php http://feeds.feedburner.com/YOUR_ID

I'm doing this myself.

Update: I just saw Eaton already mentioned the atom.module. Sorry for duplicating his post.

------------------
Gerd Riesselmann
www.gerd-riesselmann.net

Yura Filimonov’s picture

I have migrated from WordPress to Drupal 5.1 and I'd like to redirect RSS feeds to new URLs.

However, given that Drupal doesn't support a trailing slash, everything I tried doesn't work.

I have:
- used URL aliases from /feed to rss.xml
- tried rewriterule in .htaccess
- tried modifying node.module (replacing rss.xml with feed)

Nothing works. Users, subscribed to /feed/ dont receive anything.

Lately, they dont receive after subscribing to rss.xml, either.

The thing is, though, when accessing everything from the browser, rewriterules work. But not for RSS readers.

I have tried XML redirection, but it didn't work with Google reader, at least.

Help?

Thanks.