Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to Redirect WordPress Feeds to FeedBurner

WordPress has feed feature which is nice but nowadays mostly all of us use FeedBurner for its Advanced features and Statistics report. But you cannot track all the visitors unless they are redirected to FeedBurner.

Well you can use the below code in the functions.php to redirect to FeedBurner :

add_action('template_redirect', 'wpden_rss_redirect');
function wpden_rss_redirect() {
if ( is_feed() && !preg_match('/feedburner|feedvalidator/i', $_SERVER['HTTP_USER_AGENT'])){
header('Location: http://feeds.feedburner.com/wpden');
header('HTTP/1.1 302 Temporary Redirect');
}
}

Just in the above code replace wpden with your FeedBurner ID

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

September 17, 2012 Ritesh Sanap WordPress Feedburner, functions.php, How To, Redirect, WordPress Feeds

Post navigation

Previous Previous post: How to Automatically Empty Trash
Next Next post: How to display Custom message on Registration Page

Currently Trending

  • Windows Vista CD key
  • How to download Specific parts of YouTube videos
  • How to Increase Dropbox upload speed
  • You might also like this Widget for blogger or Related post widget
  • How to retrieve my Demonoid username
  • Hack Admin From XP Guest Account
  • How to Change the Welcome/Login Screen in Windows XP ?
  • Embed Text Resizing Widget To Increase or Decrease The Font Size
  • h4x0r ( Hacker ) - Blogger Template
  • How to Disable Self Pingback or TrackBack

Random Posts

Happy Birthday

July 6, 2010 By Ritesh Sanap Leave a Comment

Folder Background Images in WinXP

April 13, 2009 By Ritesh Sanap Leave a Comment

NewoosFormat – Blogger Template

August 8, 2010 By Ritesh Sanap 4 Comments

Using sIFR 2.0 in Blogger Templates

June 14, 2010 By Ritesh Sanap 3 Comments

How to Convert your Youtube videos in 3d

July 31, 2010 By Ritesh Sanap 4 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2021 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.