重要:此頁面會使用Cookie (cookies). 使用本網站不關閉瀏覽器中的cookie,即表示您同意使用它。
現在購買! 特點 下載

賺錢與我們聯繫!

如果您想要開始賺錢與貝特聯接 聯盟計畫。
結果 144

主題: 解決 Googlebot 發現了錯誤 # 2

  1. #1
    會員
    註冊日期
    2010年8月
    帖子
    83

    Default 解決 Googlebot 發現了錯誤 # 2

    Text automatically translated from: Russian to: Taiwanese
    Translated text
    你好!

    (再次出現的問題HTTP://www.vbenterprisetranslator.co...ed-errors.html)

    參考型別:
    Code:
    http://autorepman.com/th/vi/?pageid=Nissan&language=mk
    谷歌錯誤:



    北京創新樂本站 4.1.4 修補程式級別 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>
    請你幫忙 !
    Original text

  2. #2
    禁止
    註冊日期
    2012 年 8 月
    帖子
    481

    Default

    嗨,
    問題是雙將語言添加到連結。我看不雙連結在頁面上,但可能會由機器人使用的舊連結。vBET 應重定向連結來糾正。
    若要刪除的語言看 常見問題.
    我們正在著手修復的雙語言的重定向。
    最後編輯者 Marcin Kalak; 26-04-1410:42.

  3. #3
    禁止
    註冊日期
    2012 年 8 月
    帖子
    481

    Default

    快速修復此問題:
    1. 打開的檔 vbenterprisetranslator_seo.php
    2. 查找:
      PHP Code:
      if(isset($_GET['vbet_lang'])) { 
    3. 放在此之後:
      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;
          } 

    將在下一版本中添加此快速修復。

  4. #4
    高級會員
    註冊日期
    2009年12月
    帖子
    276

    Default

    啊這發生在我身上很長時間,還以為只是因為我古怪的重寫規則 !此修復程式非常感謝 !

標籤這個主題

發帖權限

  • 可能不會 發表新主題
  • 可能不會 發表回复
  • 可能不會 上傳附件
  • 可能不會 編輯您的文章
  •