Bb,
From others' questions, Redirect does not examine the query string therefore your code, while a good attempt, won't work.
The alternative is to use mod_rewrite which CAN examine the query string and use the value of a key in the redirection. An example, using YOUR coding above, would be:
Code:
RewriteEngine on
RewriteCond %{QUERY_STRING} product_id=(/d+)
RewriteRule ^index\.php$ http://www.new.com/new%1
Of course, if the values of product_id are not digits or cannot be appended to new on the new server, my example code must change.
Regards,
DK
Bookmarks