خرید بک لینک

Vote count: 0

I am leaing htaccess. Is the following possible by using htaccess:

1) Block every visitor/IP to site.

2) Block all the bots except google bot.

RewriteEngine On
order deny,allow
deny from all

RewriteCond %{HTTP_USER_AGENT} (bingbot|Baiduspider) [NC]
RewriteRule .* - [R=403,L]

Is the above htaccess right? Any help would be appreciated.

asked 55 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 22 فروردين 1395 ساعت: 15:01

صفحه بندی