PDA

정식 버전보기 : 해결 해결은 Googlebot 오류 # 2를 발견 했다



Vetall
25-04-14, 07:37
안녕하세요, 문제 다시 (http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/1384-googlebot-has-discovered-errors.html) 참조 출연:

http://autorepman.com/th/vi/?pageid=Nissan&language=mk

구글 오류: http://autorepman.com/files/error.jpgvBulletin 4.1.4 패치 수준 2vBSEO 3.6.0 RC 1vBET472.htaccess

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>



당신의 도움을 요청!

Marcin Kalak
26-04-14, 08:51
안녕하세요,
문제는 이중 언어 링크를 추가 합니다. 더블 링크는 페이지에 표시 되지 않습니다 하지만 로봇에 의해 오래 된 링크 사용 될 수 있습니다. vBET 수정에 대 한 링크 리디렉션 한다.
언어 보기 FAQ (http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/413-faq.html#post1541)를 제거 합니다.
우리는 이중 언어에 대 한 리디렉션 담합에 노력.

Marcin Kalak
26-04-14, 11:04
이 문제에 대한 빠른 문제 해결.

파일 열기 vbenterprisetranslator_seo.php
찾기 :

if(isset($_GET['vbet_lang'])) {
이 후 넣어:

$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;
}

이 빠른 수정 프로그램은 다음 릴리스에 추가 됩니다.

tavenger5
01-05-14, 19:39
아이 긴 시간 동안 나에 게 일이 일어 났 고 알았는데 내 엉뚱한 재작성 규칙 때문에! 수정 주셔서 감사!

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.10.1