Forum Moderators: phranque
The problem is that I'd still like to be able to handle old links and SE traffic that uses the old structure.
I tried doing this:
Redirect permanent /foo.php?article=22&mode=18 [example.com...]
(using one redirect line for each specific article, since there's no mapping between the old article number variable and the new title)
but Redirect doesn't appear to be attempting to do anything when handed that string with the GET variables.
Is there a way around this? I'm familiar with going the other direction (friendly url to GETs) with mod_rewrite, but I can't seem to find any discussion of anyone trying to rewrite old "unfriendly" urls.
Thanks!
RewriteCond %{QUERY_STRING} "^article=22"
RewriteRule ^foo\.php /articles/about_widget_1/ [R=301]