Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 2 of 2

Thread: "vbet_ flag-" issue

  1. #1
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default "vbet_ flag-" issue

    Please take a look at some links Googlebot found after I added language "cs":
    site:www.thegame-online.dk/cs - Google-søgning

    vbenterprisetranslatoor_seo.php was already updated before adding the language:

    Code:
    if(isset($_GET['vbet_lang'])) {
    if (false === strpos($_SERVER['REQUEST_URI'], '/'.$_GET['vbet_lang'].'/')) {
    $_GET['language'] = $_GET['vbet_lang'];
    $_GET['force_redirect'] = true;
    header("HTTP/1.1 301");
    } else {
    $_GET['language'] = $_GET['vbet_lang'];
    $_SERVER['REQUEST_URI'] = $_GET['redirected'];
    $_SERVER['HTTP_X_REWRITE_URL'] = $_SERVER['REQUEST_URI'];
    }
    $_SERVER['QUERY_STRING'] = str_replace('vbet_lang='.$_GET['language'].'&redirected='.$_GET['redirected'], '', $_SERVER['QUERY_STRING']);
    }
    if (isset($_COOKIE['vbet_language']) && !isset($_GET['language']) && false === strpos($_SERVER['REQUEST_URI'],'external.php')) {
    $_GET['language'] = $_COOKIE['vbet_language'];
    $_GET['force_redirect'] = true;
    }

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    I think we found the reason and corrected it. The issue was that vBET was displaying pages for disabled languages if someone wrote it from hand, forgot to remove lang code from sitemap generator, or just disabled language which was already partially indexed by Google. So in this case page was generated, but because language was disabled so page was generated wrong.

    We corrected it and it will be released in 3.3.0 - so if URL to not supported language comes, then there will be redirect normal (not translated) page.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •