Author Topic: Problem with google spider  (Read 5840 times)

Aldo

  • Beginner
  • *
  • Posts: 3
Problem with google spider
« on: November 18, 2006, 11:03:43 am »
There are >38.000 Virtuemart pages indexed by google with this message
"Info: Your browser does not accept cookies. If you want to put products into your cart ..".
how to avoid this ?
Do you have solutions ?

Thanks
Aldo

Soeren

  • Administrator
  • Sr. Member
  • *
  • Posts: 3106
  • VirtueMart Starter
    • virtuemart.net
Re: Problem with google spider
« Reply #1 on: November 20, 2006, 16:30:42 pm »
38.000 pages of your site or overall?

The cookie check was introduced to tell a customer why his/her cart stays empty. Cookies must be enabled...
To avoid this please comment out the line 60 in the file /classes/ps_session.php:

Code: [Select]
$this->doCookieCheck(); // Introduced to check if the user-agent accepts cookies
ciao, Sören
The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net

Aldo

  • Beginner
  • *
  • Posts: 3
Re: Problem with google spider
« Reply #2 on: November 21, 2006, 10:34:58 am »
Thanks a lot...

Aldo

Bjorn A. Solstad

  • Beginner
  • *
  • Posts: 33
    • Internet Marketing
Re: Problem with google spider
« Reply #3 on: February 06, 2008, 14:01:21 pm »
38.000 pages of your site or overall?

The cookie check was introduced to tell a customer why his/her cart stays empty. Cookies must be enabled...
To avoid this please comment out the line 60 in the file /classes/ps_session.php:

Code: [Select]
$this->doCookieCheck(); // Introduced to check if the user-agent accepts cookies
ciao, Sören

I believe it's better to comment out line 87 that says:
mosRedirect( $this->url( $mm_action_url . 'index.php?' . mosGetParam($_SERVER,'QUERY_STRING').'&vmcchk=1' ) );

The message goes away, and the browser does not redirect.

Any thoughts?

fidel

  • Guest
Re: Problem with google spider
« Reply #4 on: March 28, 2008, 17:35:58 pm »
Why do you consider this method better than the previous suggestion?

Thanks.

RCheesley

  • Jr. Member
  • **
  • Posts: 81
Re: Problem with google spider
« Reply #5 on: December 14, 2008, 12:35:54 pm »
I had this problem too - seems a bit of an issue as there are a multitude of questions on forums.  Completely messed up the SEO for my site which has probably resulted in huge loss in sales .. *sigh*