Welcome to WebmasterWorld Guest from 184.108.40.206
header("Location:...");redirect returns a 302 (Found) Status Code, so the search engine is still likely to index the URL. I would have said that you should send a 301 (Moved Permanently) instead.
header("Location:http://www.external-site.com/product/". $PRODUCTNUM1234 ."/myid",true,301);
Is it the URL of your actual script that you want to prevent Google from indexing? Or www.external-site.com/product/... ?
rel="nofollow"in these anchors to prevent pagerank from being passed. Is
rel="noindex"supported by search engines on anchors?
So you have anchors like this...?<a href="http://www.mysite.com/getproduct.php?PRODUCTNUM=746463">something</a>