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 OKQuick Fix.
Goto app/addons/statistics/func.php
Replace the following line:
'client_language' => $_SERVER['HTTP_ACCEPT_LANGUAGE'],
with
'client_language' => empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? 'en-US,en;q=0.5' : $_SERVER['HTTP_ACCEPT_LANGUAGE'],
Time to rebuild what we lost. Positioning.