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 4 of 4

Thread: Solved Googlebot has discovered errors #2

  1. #1

    Default Solved Googlebot has discovered errors #2

    Text automatically translated from: Russian to: English
    Translated text
    Good day!

    Again this problem (http://www.vbenterprisetranslator.co...ed-errors.html)

    Link type:
    Code:
    http://autorepman.com/th/vi/?pageid=Nissan&language=mk
    Google error:



    vBulletin 4.1.4 Patch Level 2
    vBSEO 3.6.0 RC 1
    vBET472



    .htaccess
    Code:
    RewriteEngine On
    RewriteBase /
    
    Options -Indexes
    Options +FollowSymLinks
    
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    
    Redirect 301 /autorepman.com/ http://autorepman.com/
    
    
    AddDefaultCharset utf-8
    AddCharset utf-8 *
    <IfModule mod_charset.c>
        CharsetSourceEnc utf-8
        CharsetDefault utf-8
    </IfModule>
    
    
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    
    
    
    #RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
    RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    #server-status
    RewriteCond %{REQUEST_URI} !=/server-status
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    
    
    
    FileETag MTime Size
    <ifmodule mod_expires.c>
    <filesmatch "\.(gif|jpg|jpeg|png|ico|swf|js|css|pdf)$">
    ExpiresActive on
    ExpiresDefault "access plus 1 year"
    </filesmatch>
    </ifmodule>
    
    #<IfModule mod_rewrite.c>
    #RewriteEngine on
    #RewriteCond %{HTTP_REFERER} !^$
    #RewriteCond %{HTTP_REFERER} !^http://(www\.)?autorepman\.com/.*$ [NC]
    #RewriteRule .*\.(gif|jpg|png|ico)$ - [F,L]
    #</ifModule>
    
    
     
    
    <IfModule mod_deflate.c>
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE text/javascript
      AddOutputFilterByType DEFLATE text/css
      <IfModule mod_setenvif.c>
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
      </IfModule>
    </IfModule>
    Asking for Your help!
    Original text

  2. #2
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    Hi,
    Issue is a double add language to the link. I do not see the double links on the page, but may be old links used by robots. vBET should redirect the links to correct.
    To remove the language look to the FAQ.
    We are working on fixing redirects for the double language.
    Last edited by Marcin Kalak; 26-04-14 at 10:42.

  3. #3
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    Quick fix for this issue:
    1. Open file vbenterprisetranslator_seo.php
    2. Find:
      PHP Code:
      if(isset($_GET['vbet_lang'])) { 
    3. Put after this:
      PHP Code:
      $url str_replace('/'.$_GET['vbet_lang'].'/''/'$_SERVER['REQUEST_URI']);
          if(
      preg_match('/\/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)\//',$url)) {
              
      header("HTTP/1.1 301 Moved Permanently"); 
              
      header('Location: '.$url);
              exit;
          } 

    This quick fix will be added in the next release.

  4. #4
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default

    ah this was happening to me for a long time and I thought it was just because of my wacky rewrite rules! Thanks for the fix!

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
  •