htaccess woes
November 8, 2005 5:12 PM
Subscribe
Is there a mod_rewrite expert in the house that tell me what I'm doing wrong?
Things I'm trying to accomplish and as close as I (and a friend) got:
-redirecting aggregators that have my RSS feed to a new one:
RewriteRule ^index.php?s=rss&rss=1 /wp-rss2.php [QSA,L]
-redirect hits to links to a new directory:
#RewriteRule ^index.php?id=(.*)$ /old/index.php?=$4 [R]
Why am I doing this? So people's links to me stay good, and so I can throw a new index.php (from a different piece of blog software) in my main DIR. I know it makes more sense to redirect links to the new URL, but when I imported (from textpattern to wordpress) the Post IDs got a bit off due to things like deleted posts, so I don't think I can do that. I'm trying to piece this together from apache's doc and having a heck of a time. THANKS!
posted by ArcAm to computers & internet (15 comments total)
1 user marked this as a favorite
RewriteRule ^/index.php?s=rss&rss=1 /wp-rss2.php [QSA,L]
RewriteRule ^/index.php?id=(.*)$ /old/index.php?=$1 [R]
although I'm not sure about your flags.
posted by nicwolff at 5:26 PM on November 8, 2005