Redirect WordPress Feed to FeedBurner

First open your [highlight color=”orange”].htaccess[/highlight] file which is located in your root directory. If you use [highlight color=”silver”]Wordpress SEO from YOAST[/highlight] then you just need go to [highlight color=”blue”]Edit Files in SEO menu[/highlight] then paste the following code:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]
RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
RewriteRule ^feed/?([_0-9a-z-] )?/?$ http://feeds.feedburner.com/kloningspoon [R=302,NC,L]
</IfModule>

By the way, don’t forget to change the feed URL to your own Feed URL otherwise you will be redirecting users to my Feeds.

Artikel terkait:   WordPress: Display a List of Last Updated Posts

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

This site uses Akismet to reduce spam. Learn how your comment data is processed.