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.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39

Thread: Google caching thousands of duplicate pages with /lang/lang/lang issue

  1. #1
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default Google caching thousands of duplicate pages with /lang/lang/lang issue

    Ok, Look at the page
    Code:
    http://www.allfreechips.com/ga/gl/afc_contests/selectpayment.html
    as its a duplicate of
    Code:
    http://www.allfreechips.com/ga/afc_contests/selectpayment.html

    Long time ago when we installed the vBet we had an issue where it would allow multiple lang "folders" so now I have a very large SEO problem with thousands of duplicate pages.

    the abouve should not be /ga/gl/ it should only be /ga/ and that them becomes a duplicate

    I needt to re-direct all these incoorect folders to the correct single folder asap.

    Please fill me in on a .htaccess mod to correct this please.

    Thank you!
    Chris

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,

    I have solution for you - please check this solution:
    http://www.vbenterprisetranslator.co....html#post6864

  3. #3
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    I did the simple upgrade from 3.3.3 to 3.3.6 and now I get an error on any thread view!

    Help !
    Code:
    http://www.allfreechips.com/phpBB2/promotions/6987-check-your-emails-villento-casino-accounts-40-freespins.html

  4. #4
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    Agg and if i turn it off, the forum homepage does not appear! Somthing is way out of whack

  5. #5
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    Im in a real bad spot here! please help me out!

  6. #6
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    OK, I was able to re-upload the old vbrt and im back to working! I would like to get to the latest version though so I can remove these multi lang pages

  7. #7
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    I made a 404 error trigger in htaccess, although I would really prefer to R=301 redirect these pages

    Code:
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)* http://www.allfreechips.com/Allfreechips [L,QSA]
    /Allfreechips then triggers my google 404 error page.

  8. #8
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    Alos noted my sitemap is broke, and if i run manually i get this

    Warning: strtr() [function.strtr]: The second argument is not an array in /home/allfreec/public_html/phpBB2/includes/functions_vbseo_url.php on line 488


    and that line is

    Code:
    if (false !== strpos($text, ');
    global $stylevar;
    if ($stylevar['charset'] != 'utf-8') {
    $text = preg_replace('/&#([0-9]+);/esiU', 'convert_int_to_utf8(\'\\1\')', $text);
    }
    When i try to view the sitemap i get a intermal error.

  9. #9
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,

    Now I don't know where is the issue. Still with double lang folder in url or not?
    ahhh sorry because yesterday I gave you a solution for 4 version of vB but you have 3 my mistake, sorry once again.

    here you have a solution to eliminate double redirect from url:
    1. open and make a copy of this file:
    forum root/includes/vbenterprisetranslator_functions_hooks.php
    2. in this file find:
    PHP Code:
    function vbet_global_start(&$template_hook) { 
    3. in this function find:
    PHP Code:
    if (!$vbulletin->userinfo['userid'] && $vbulletin->options['vbenterprisetranslator_guestfilecache_use'
    4. put BEFORE this code:
    PHP Code:
    if ('REQUEST_URI' == $vbulletin->options['vbenterprisetranslator_linkstype'] && $_REQUEST['goto'] != 'newpost' && $_REQUEST['language'])
            {
                require_once(
    DIR'/includes/vbenterprisetranslator_functions_url_tracking.php');
                
    $url str_replace('/'.$_REQUEST['language'].'/''/'$_SERVER['REQUEST_URI']);
                
                if(
    preg_match('/\/('.VBET_LANGUAGESMATCH.')\//',$url)) 
                {
                    
                    
    $url preg_replace('/('.VBET_LANGUAGESMATCH.')\//','',$url);
                    
    exec_header_redirect($url);
                }
            } 
    Secondly. I don't know what issue do you have when you would like to upgrade vBET. please give me some example. Please check all configuration settings in admincp->vBET->main (url engine etc.) and paste here your .htaccess file.
    If you still can't upgrade to new version - please sent to me by PM your admincp and FTP details and I will fix it.

    Thirdly. Did you integrate your sitemap generator with vBET? here you have a solution step by step how to integrate this mod: http://www.vbenterprisetranslator.co...tegration.html

  10. #10
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    Yes, multiple issues

    One, I want to 301 all the pages with the error, now that code you posted does a rediredt, but is it an actual hard 301 redirect?


    2nd, Upgrading to the newer 3.x version everything worked except i could not view the threads, just got a blank page.

    3rd my sitemap was integrated when i had the paid installation of vbet a while back, so now it generates a sitemap but you get a Internal Error when you try to access it, and also the error i reported abouve when you generate a sitemap.

Page 1 of 4 123 ... LastLast

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
  •