Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange shopping cart


fabcards

Recommended Posts

Posted

Not sure if its a virus or if something is trawling my site but i have a guest on my site at the moment...been on for 6 hrs now and has nearly all my items in its cart or at least one of each item...has anyone experienced this?

Posted

Probably a search engine spider. If it is, the name should appear in your server logs. You need to add it to your spiders list, and set up your robots.txt to keep it out of the shopping cart.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted
Probably a search engine spider. If it is, the name should appear in your server logs. You need to add it to your spiders list, and set up your robots.txt to keep it out of the shopping cart.

 

Regards

Jim

 

Rather than using the robots.txt file I would use the robots meta tag to control the indexing for your site. Add

<meta name="robots" content="noindex, follow">

under the <head> tag of every file you do not want spiders to index such as shopping_cart.php and every checkout_xxx.php and account_xxx.php file. Then also use the complementary version

<meta name="robots" content="index, follow">

in every file that you DO want the spiders to index such as index.php and product_info.php. Likewise I would use

<meta name="robots" content="noindex, nofollow">

in EVERY file under admin just to make sure they would never be indexed just in case a spider managed to slip past your security into the admin section.

 

The main problem with robots.txt is that hackers know to use it to try and find areas in which they don't belong.

Archived

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

×
×
  • Create New...