<?
$products_id = $HTTP_GET_VARS['products_id'];
header( 'Location: cat/product_desc.php?products_id='.$products_id.'' );
?>
i have moved my site to cat directory under root. old and new site have same product ids. my site is indexed by google mysite/product_desc.php?products_id= 100 and mysite/product_desc.php/products_id/100 (i tried sef url for a while).
mysite/product_desc.php?products_id= 100 works with redirection but mysite/product_desc.php/products_id/100 are broken. how can i modify my redirection to pick mysite/product_desc.php/products_id/100 links to mysite/product_desc.php?products_id= 100 links.
best regards