Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stop Google from indexing popup_image files


dootch

Recommended Posts

How can I stop Google from indexing my popup_image file or better yet make it work in my favor. On a Google search of one of my new part #'s FG-50-US . The first listing is the image pop up the second one is the product itself.

1st

www.microsupply.com/catalog/popup_image.php/pID/24740

2nd

www.microsupply.com/catalog/product_info.php/ products_id/24740

 

I think its great that they are crawling my site but I would like it to be relavant...

 

Thanks in advance this community rules.

Link to comment
Share on other sites

Burt,

Tried your code had to hack it a bit to work with my MS1 snapshot. Prodlem is it does not pull the pID. Url now looks like this with my shop displaying no product exists. Any suggestions.

 

http://www.microsupply.com/catalog/product...hp/products_id/

 

Added code....

 

if (ereg("google", strtolower($HTTP_REFERER))) {

header("Location: " . HTTP_SERVER . DIR_WS_CATALOG . FILENAME_PRODUCT_INFO . "/products_id/" . $pID);

exit;

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...