How to Use .htaccess to Direct FeedBlitz User Agents

Editing the .htaccess file for your website can break your site. 

Do not make changes to your .htaccess file unless you are familiar with how an .htaccess file works and how to recover if a mistake is made. Always make a copy of your existing .htaccess file and save it before making any changes.

The code below creates a 302 redirect for your feed. The code also contains an exemption for the FeedBlitz user agent which allows our crawler to access the original feed. Without the exemption FeedBlitz will not have access to your feed which will prevent the FeedBlitz version of your feed from showing new content.

Replace the feed url in the second to last line with your FeedBlitz feed's url. 

# temp redirect content feeds to FeedBlitz
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} !FeedBlitz    [NC]
 RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
 RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedblitz.com/yourextension [R=302,NC,L]

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.