Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
First explain the picture anti-theft chain and turn:
What is the use of picture anti-theft chain?
Prevent other websites from stealing your pictures and wasting your valuable traffic.
What's the use of a picture shift?
If your site to the main picture, which day to find the end of the month did not reach the traffic is running out, then you can use the picture to turn, without modifying the premise of the page, the picture download request to other space (such as trial host), temporary transition.
Let's start with a description, such as your pictures are in the IMG directory, then devolve a file named. htaccess in the directory, which reads as follows:
Rewriteengine on
Rewritecond%{http_referer}!^$ [NC]
Rewritecond%{http_referer}!simcole.cn [NC]
Rewritecond%{http_referer}!zhuaxia.com [NC]
Rewritecond%{http_referer}!google.com [NC]
Rewritecond%{http_referer}!baidu.com [NC]
Rewritecond%{http_referer}!bloglines.com [NC]
Rewriterule. (jpg|gif|png|bmp|swf|jpeg)/image/replace.gif [r,nc,l]
Rewriterule ^ (. *) $ http:\/\/image.simcole.cn\/image\/$1 [L]
Probably explained:
Rewritecond%{http_referer}!^$ [NC]
Rewritecond%{http_referer}!simcole.cn [NC]
Rewritecond%{http_referer}!zhuaxia.com [NC]
Rewritecond%{http_referer}!google.com [NC]
Rewritecond%{http_referer}!baidu.com [NC]
Rewritecond%{http_referer}!bloglines.com [NC]
This part is to determine whether hotlinking, if the above conditions are set up (that is, access to the picture of the request, neither directly entered the URL, Nor from the simcole.cn, nor from the zhuaxia.com, nor from the Google.com, nor from the baidu.com, nor from the bloglines.com, to perform the following turns:
Rewriterule. (jpg|gif|png|bmp|swf|jpeg)/image/replace.gif [r,nc,l]
The meaning is to let all hotlinking img directory of JPG, GIF, PNG, BMP, SWF, JPEG files of the Web page, display pictures are replaced with replace.gif pictures in the image directory. Note Replace the displayed picture not in the IMG directory where you set up the anti-theft chain. If the picture request is not hotlinking according to the rules above, perform the following turn:
Rewriterule ^ (. *) $ http:\/\/image.simcole.cn\/image\/$1 [L]
This means that all requests to the IMG directory are directed to the target server, such as a picture where the original URL is http://www.bebecn.com/img/girl.jpg and now it's going to the http://image.bebecn.com/image/ Girl.jpg go. Of course you have to copy all the files from the original server's IMG directory to the image directory of the staging server. The effect is to the original server picture download occupied by the flow of all save, let the temporary server to bear.
Feeds from Bibi China: http://www.bebecn.com/html/73/n-173.html