重要:此页面会使用Cookie (cookies). 使用本网站不关闭浏览器中的cookie,即表示您同意使用它。
现在购买! 特点 下载

赚钱!

如果您想要开始赚钱与贝特联接 联盟计划。
结果 144

主题: 解决 Googlebot 发现了错误 # 2

  1. #1
    会员
    注册日期
    2010年8月
    帖子
    83

    Default 解决 Googlebot 发现了错误 # 2

    Text automatically translated from: Russian to: Chinese
    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

    啊这发生在我身上很长时间,还以为只是因为我古怪的重写规则 !此修复程序非常感谢 !

此主题的标签

发帖权限

  • 可能不会 发表新主题
  • 可能不会 发表回复
  • 可能不会 上传附件
  • 可能不会 编辑您的文章
  •