Feedburner code in .htaccess file not working
-
Feedburner sent me some code to drop in my .htaccess file, this would redirect all my private feeds to my feedburner feed. I did that but feedburner says its not working.
My original .htaccess file looked like this.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]
</IfModule>After adding the feedburner code it looks like this. Could someone point out if there is anything I should correct.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^/feed/$ https://feeds.feedburner.com/mysitename [R,L]
</IfModule>
- The topic ‘Feedburner code in .htaccess file not working’ is closed to new replies.