WebDev → Переадресация RSS на FeedBurner с помощью .htaccess

Задача: сделать переадресацию RSS ленты сайта на FeedBurner с помощью .htaccess. Без использования плагинов (FD Feedburner Plugin, Primary Feedburner и аналогичных).

Зачем устанавливать плагин, если его работу можно заменить парой строк кода?

Реализация: правим .htaccess в корне сайта, и добавляем строки.

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{REQUEST_URI} ^/?(feed.*|comments.*) [NC]
   RewriteCond %{HTTP_USER_AGENT} !^.*(FeedBurner|FeedValidator) [NC] 
   RewriteRule ^feed/?.*$ http://feeds.feedburner.com/sauron918 [L,NC,R=302]
   RewriteRule ^comments/?.*$ http://feeds.feedburner.com/sauron918comments [L,NC,R=302]
</IfModule>

Не забудьте заменить адрес моей ленты на свой. Кроме этого в functions.php можно добавить пару строк чтобы исключить автоматический вывод ссылок на RSS в <head> сайта (вида http://sauron.org.ua/feed).

remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );

И добавить в header.php ссылки на фид вручную:

<link rel="alternate" type="application/rss+xml" title="Sauron918 | Блог веб-разработчика &raquo; Лента" href="http://feeds.feedburner.com/sauron918" />

Все. В head сайта ссылка на RSS ленту FeedBurner, а при заходе на http://sauron.org.ua/feed будет автоматическая переадресация на http://feeds.feedburner.com/sauron918.Related: kentucky speeding ticket deferral program, reporting p values apa 7th edition, oklahoma state golf workout program, what happened to frank nitti son, preguntas y respuestas del libro de ezequiel, death by magic tricks explained, american family insurance preferred vendor program, white shooting systems white lightning, pst27r replacement bulb, fictitious tags arkansas fine, rodeo in south carolina this weekend, brian edward alan love, percussion grenade vs concussion grenade, fridgemaster water dispenser leaking, what happened to gallant on er,