FeedBurner and WordPress

In previous posts I've extolled the virtues of WordPress for running blogs and FeedBurner for managing RSS feeds. The problem, as I recently discovered, is that getting FeedBurner to work with WordPress when your web server is Microsoft's Internet Information Server (IIS) isn't as straightforward as one would like.

Fortunately, Greg Lipscomb has done much of the legwork in figuring the trick to configuring WordPress and FeedBurner. He missed a few steps which I've included in my instructions I've provided below:

  1. Download this file from Greg's site.
  2. Open the file in an editor.
  3. Replace the first piece of code which looks like this
    < ?php

    with this

  4. Change URL at the top of the file to be what your FeedBurner URL will be e.g. http://feeds.feedburner.com/my-feed.
  5. Right after the line of PHP code you changed in step 4, add these two lines:
    1. header('HTTP/1.1 301 Moved Permanently');
    2. header('Status: 301 Moved Permanently');
  6. Save the file and change the extension from .txt to .php.
  7. Upload this file to the root of your WordPress blog.
  8. If you don't already have a FeedBurner account, create one.
  9. Register your feed using this as your RSS feed URL: http://www.mysite.com/?feed=feedburner.
  10. Log in to the administration tool of your WordPress log.
  11. Navigation to Presentation-->Theme Editor-->Header
  12. Replace this piece of code
    <?php bloginfo('rss2_url'); ?>

    with the URL from step 4. Save your changes.

  13. You're all done.
  14. 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>