Ok, I'm pulling out my hair here (which there isn't much of since I just shaved my head) and I can't figure out why this isn't working. If anyone out there is a RegExp and mod_rewrite expert, please help me out!
I noticed today from my server logs that I am getting a lot of 404 errors coming from the following url: http://www.getintothis.com/blog/feed/atom/
So, I tried to modify my .htaccess file to force that url to point to the feed.php file that is being used by the rest of my feeds. This is a section of my .htaccess file pertaining to the feeds. I added the first two lines in hopes of resolving this issue, but I'm still getting 404 errors.
Why is it that ^atom.xml points to feed.php?feed=atom just fine, but my rules don't wotk? Somebody please help me out here. Thanks.
RewriteRule ^feed/?$ feed.php [L]
RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ feed.php?feed=atom [L]
RewriteRule ^rss2.xml feed.php [L]
RewriteRule ^atom.xml feed.php?feed=atom [L]