NECTES Global Media Technology Website.

How To: Redirect WordPress Feeds to Feedbuner Without Any Plugin

Redirect Wordpress Feeds to Feedbuner Without Any Plugin

0 79


In now Blogging, most bloggers are moving their blogs to WordPress Blogging, because there, Plugins do every jobs for you, without you spending the whole day in doing one particular work with bundles of time. To think, i liked WordPress Blogging because i recent moved my blog to WordPress and since then, i have been enjoying the good benefits of hosting my blog into WordPress Blogging platform. and also before i thought that, editing and designing WordPress to your own satisfaction, is a hard task to take. But now i know that working with WordPress is ever simple and not hard.

WHY DID I CREATE THIS ARTICLE?

Yes this is a good question to ask anyone that just started using or moved to WordPress blogging, because when your blog is on Blogger.com platform you have no issue with that, because Feedburner is owned by Google INC and Blogger.com also, now one of the reason i created this topic, is that most bloggers that are now using WordPress, later knew or find out that WordPress has there own Feed inbullt, so for your blog to use feedburner, you have to create a redirection from your WordPress to Feedburner.



So i will show you how to undertake this task, and is very simple and not a hard work to do in your WordPress Blog, once you know how to access your blog theme or template file, in your cpanel or Control Panel, then you can do it on your own.

STEP 1:
Login to your Host Cpanel or Control panel, and goto WP-CONTENT/THEMES/YOUR-THEME-NAME/FUNCTIONS.PHP.

STEP 2:
Open the file or download the and edit it with Notepad++ and add the below codes to the bottom of the codes on it and save and exit.

// Redirect RSS to FeedBurner // function diww_rss_feed_redirect() { global $feed; $new_feed = ‘http://your feedburner URL; if (!is_feed()) { return; } if (preg_match(‘/feedburner/i’, $_SERVER[‘HTTP_USER_AGENT’])){ return; } if ($feed != ‘comments-rss2’) { if (function_exists(‘status_header’)) status_header( 302 ); header(“Location:” . $new_feed); header(“HTTP/1.1 302 Temporary Redirect”); exit(); } } add_action(‘template_redirect’, ‘diww_rss_feed_redirect’);

 CUSTOMIZATION

The work is finished, what you have to do here is to Edit the bold link¬†http://your feedburner URL‘ and add yours…



Read More:
1 of 111
More Publications You Missed!
1 of 111