Warning Cookies are used on this site to provide the best user experience. If you continue, we assume that you agree to receive cookies from this site. OK

CS-Cart V4 Not indexed on google ?

by Lucian Cicos

We redesigned our store, added new functionality and launched it on the latest version of cs-cart 4.0.1

After few days since launch, our store started to drop positions from google on all keywords, and slowly became un-indexed completely.  When searching after our domain name the return from google was. 

Ooops! An error occurred! 

Ok.... so it became a challenge !  

We started the debug process. Fetch as Google returned as successful  ! 

However when we looked at what google bot is seeing and it was this.


HTTP/1.1 200 OK
Server: nginx/1.2.7
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.3.3
X-Frame-Options: sameorigin
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache


An error occurred

Quick Fix. 

Goto app/addons/statistics/func.php
Replace the following line:
'client_language' => $_SERVER['HTTP_ACCEPT_LANGUAGE'],
'client_language' => empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? 'en-US,en;q=0.5' : $_SERVER['HTTP_ACCEPT_LANGUAGE'],

Time to rebuild what we lost. Positioning.