With WordPress 2.8 onwards, the function “add_theme_support” came into play. That means fudging the link in the header the good old way no longer works. Either you turn it on or off. There are plugins that can handle the switch for you but I didn’t want to have too many menial plugins installed. So how I did mine.
(Please remember to backup your files!)
Step 1
Go to your themes function.php file and comment out the code
add_theme_support( 'automatic-feed-links' );
Step 2
Go to your themes header.php file and insert this code.
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="http://feeds.feedburner.com/yourfeedname" />
That’s it. So now your feed is automatically listed to feedburner.
Step 3 (Optional)
So this part bothered me a little. Although your feed link is to Feedburner, if someone hits your feed directly, in this case for me its teo.net/feed, it will still be allowed. To prevent this, I created a simple HTTP 302 temporary redirect in my .htaccess file. You can use a permanent redirect, HTTP 301, if you like. So open your .htaccess file and insert this code. Do not insert this between # BEGIN WordPress and #END WordPress, insert in below it.
Redirect 302 /feed http://feeds.feedburner.com/yourfeedname
Of course, this ‘method’ will only work if you have access to .htaccess files to fudge around. So far its working for me and I’ve not faced any problems.












