Nov 8, 2007

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Redirect All Feeds to Feedburner's MyBrand


RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.*)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator|talkr) [NC]
RewriteRule .* http://feeds.askapache.com/apache/htaccess? [R=307,L]

No comments: