Google botları yönlendiren .htaccess
6
●1.873
- 21-06-2013, 13:34:07Üyeliği durdurulduGoogle botların genelde User-Agentinde bot olduğu belirtilir, bunu kullanarak yönlendirme yapabilirsin
AlıntıRewriteEngine On RewriteCond %{HTTP_HOST} abc.com$ [NC] RewriteCond %{HTTP_USER_AGENT} Googlebot [OR] RewriteRule ^(.*)$ http://def.com/$1 [L,R=301]apache cevabı
HTTP/1.1 301 Moved Permanently Date: Mon, 15 Oct 2012 22:10:55 GMT Server: Apache Location: http://def.com Content-Length: 289 Content-Type: text/html; charset=iso-8859-1
- 21-06-2013, 13:41:24Üyeliği durdurulduGoogle Search Botu için konuşuyorsak olmadığı zamanlar olmuyor.Misafir adlı üyeden alıntı: mesajı görüntüle
Fakat bunun haricinde analytics botu gelir, adwords, adsense botu ayrı gelir human botları bile ayrı gelir. - 21-06-2013, 13:52:53belirlemek pekte münkün değil diyorsun onları
extra kodlar:
RewriteEngine On
RewriteCond %{HTTP_HOST} abc.com$ [NC]
RewriteCond %{HTTP_USER_AGENT} Googlebot [OR]
RewriteCond %{HTTP_USER_AGENT} msnbot [OR]
RewriteCond %{HTTP_USER_AGENT} Slurp
RewriteRule ^(.*)$ http://bcd.com/$1 [L,R=301] - 21-06-2013, 14:02:07Kimlik doğrulama veya yönetimden onay bekliyor.Googlebot
Googlebot-News
Googlebot-Image
Googlebot-Video
Googlebot-Mobile
Mediapartners-Google
Mediapartners
AdsBot-Google
RewriteCond %{HTTP_user_agent} Mozilla/5.0 (compatible; googlebot/2.1; +http://www.google.com/bot.html) [OR] RewriteCond %{HTTP_user_agent} googlebot/2.1 (+http://www.google.com/bot.html) [OR] RewriteCond %{HTTP_user_agent} googlebot/2.1 (+http://www.google.com/bot.html) [OR] RewriteCond %{HTTP_user_agent} googlebot-Image/1.0 [OR] RewriteCond %{HTTP_user_agent} googlebot-Video/1.0 [OR] RewriteCond %{HTTP_user_agent} Mediapartners-google [OR] RewriteCond %{HTTP_user_agent} AdsBot-google (+http://www.google.com/adsbot.html) RewriteRule ^(.*)$ http://bcd.com/$1 [R=301,L] - 21-06-2013, 14:29:33dikkat edin bunları kullanırken cloack'e düşmeyin3 kişi bunu beğendi.