Posted by farrell on April 30, 2008 at 5:25pm
I've been struggling with this for awhile. I have multisite operating on my server and just added a new site, let's call it domain.net. (The root domain on my server is domain.com).
The feed generated by the new multisite install is http://domain.net/rss.xml.
Now, I have feedburner and want to direct those feed requests to http://feeds.feedburner.com/new-domain.
This code does not do it:
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^http://domain.net/rss\.xml$ http://feeds.feedburner.com/new-domain [R=temp,L]I'm not sure why. I've used this general syntax before to redirect off the root domain (without the http:// or the domain name) but can't get it to work for the multisite domain.
Any help would be super.
Comments
I think I solved this: The
I think I solved this:
The following seems to work. Does anyone see a problem with it?
RewriteCond %{HTTP_USER_AGENT} !FeedBurnerRewriteCond %{HTTP_HOST} ^\domain\.net$
RewriteRule ^\rss\.xml$ http://feeds.feedburner.com/new-domain [R=temp,L]
--
Farrell Kramer
farrell kramer communications
--
Farrell Kramer
farrell kramer communications