Welcome Guest, Not a member yet? Register   Sign In
Beginner googlebot problem
#2

[eluser]canado[/eluser]
Ok I had to change this MY_Lang.php

Code:
/*if($browser_lang)
  {
   return (array_key_exists($browser_lang, $this->languages)) ? $browser_lang: 'en';
  }else{
   return $this->languages[0];
  }*/

into that

Code:
if ( !$browser_lang ) {
        return array_shift(array_keys($this->languages));
        }
        else {
        return (array_key_exists($browser_lang, $this->languages)) ? $browser_lang: array_shift(array_keys($this->languages));
        }


which is a bit better, but now I have this

HTTP/1.1 302 Moved Temporarily
Set-Cookie: 90plan=R3938748381; path=/; expires=Sun, 25-Mar-2012 02:05:58 GMT
Date: Thu, 22 Mar 2012 13:45:53 GMT
Server: Apache/2.2.X (OVH)
X-Powered-By: PHP/5.2.17
Location: http://www.mysite.com/en/home
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html


Messages In This Thread
Beginner googlebot problem - by El Forum - 03-21-2012, 12:53 PM
Beginner googlebot problem - by El Forum - 03-22-2012, 07:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB