[提问]
GD LINUX htaccess设置图片防盗链写发后搜索引擎收录大量下降
|
|
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- RewriteBase /wp-content/uploads/
- RewriteCond %{HTTP_REFERER} !^$ [NC]
- RewriteCond %{HTTP_REFERER} !本站.com [NC]
- RewriteCond %{HTTP_REFERER} !google.co.id [NC]
- RewriteCond %{HTTP_REFERER} !google.com [NC]
- RewriteCond %{HTTP_REFERER} !bing.com [NC]
- RewriteCond %{HTTP_REFERER} !yahoo.com [NC]
- RewriteCond %{HTTP_REFERER} !yahoo.com.cn [NC]
- RewriteCond %{HTTP_REFERER} !yahoo.cn [NC]
- RewriteCond %{HTTP_REFERER} !baidu.com [NC]
- RewriteCond %{HTTP_REFERER} !google.de [NC]
- RewriteCond %{HTTP_REFERER} !google.co.jp [NC]
- RewriteCond %{HTTP_REFERER} !google.nl [NC]
- RewriteCond %{HTTP_REFERER} !google.com.au [NC]
- RewriteCond %{HTTP_REFERER} !google.com.sa [NC]
- RewriteCond %{HTTP_REFERER} !google.co.uk [NC]
- RewriteCond %{HTTP_REFERER} !google.fr [NC]
- RewriteCond %{HTTP_REFERER} !google.com.br [NC]
- RewriteCond %{HTTP_REFERER} !google.com.mx [NC]
- RewriteCond %{HTTP_REFERER} !google.com.tw [NC]
- RewriteCond %{HTTP_REFERER} !google.com.eg [NC]
- RewriteCond %{HTTP_REFERER} !google.com.hk [NC]
- RewriteCond %{HTTP_REFERER} !google.se [NC]
- RewriteCond %{HTTP_REFERER} !google.fi [NC]
- RewriteCond %{HTTP_REFERER} !google.com.ph [NC]
- RewriteCond %{HTTP_REFERER} !google.ru [NC]
- RewriteCond %{HTTP_REFERER} !google.co.kr [NC]
- RewriteCond %{HTTP_REFERER} !google.es [NC]
- RewriteCond %{HTTP_REFERER} !pch.com [NC]
- RewriteCond %{HTTP_REFERER} !google.be [NC]
- RewriteCond %{HTTP_REFERER} !google.ro [NC]
- RewriteCond %{HTTP_REFERER} !google.com.my [NC]
- RewriteCond %{HTTP_REFERER} !google.co.in [NC]
- RewriteCond %{HTTP_REFERER} !google.pl [NC]
- RewriteCond %{HTTP_REFERER} !google.com.tr [NC]
- RewriteCond %{HTTP_REFERER} !google.co.th [NC]
- RewriteCond %{HTTP_REFERER} !google.ch [NC]
- RewriteCond %{HTTP_REFERER} !google.co.nz [NC]
- RewriteCond %{HTTP_REFERER} !showmelinks.eu [NC]
- RewriteCond %{HTTP_REFERER} !google.dk [NC]
- RewriteCond %{HTTP_REFERER} !google.com.pk [NC]
- RewriteCond %{HTTP_REFERER} !google.com.ar [NC]
- RewriteRule .*\.(gif|jpg|png|rar)$ http://suzhouroom.com/301/301.png [L] </IfModule>
- # END WordPress
复制代码 我做的是英文站,之前Google搜索都很好的,这样写没有问题吧,但是最近发现Google搜录只剩两三条,yahoo一个都没有。只剩下bing可以翻几页,郁闷了。 |
|
|
|
|
|
|
|
|
|
|
nojay
发表于 2011-3-1 09:02:58
|
显示全部楼层
程序是WP
我只希望搜索引擎能先是图片,其他链接全部防止。 |
|
|
|
|
|
|
|
|
|
|
add.c
发表于 2011-3-1 09:16:58
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-3-1 09:18:44
|
显示全部楼层
|
|
|
|
|
|
|
|