Provide zblog template_zblog them_wordpress template download and customization

Zblogphp image immobilizer code Other files are also available

Tianxing Studio 2015-05-20 23:23 Zblogphp Tutorial seven thousand three hundred and ninety-nine 5 Comments


Today, I accidentally found that a garbage dump directly stole my CSS, js and pictures, and imitated a Tianxing Studio Similar sites,. The anger in my heart

It took me a little time to understand the function of this anti-theft chain, and share it. I hope it can help friends in need.

The codes are as follows:

 RewriteEngine on  RewriteCond %{HTTP_REFERER} ! baidu.com [NC] RewriteCond %{HTTP_REFERER} ! google.com [NC] RewriteCond %{HTTP_REFERER} ! txcstx.cn [NC] RewriteRule .*\. (gif|jpg)$ /band.txt [NC,L]

Code explanation: the above txcstx.cn is modified to your own domain name Band.txt is the prompt file after the stolen chain (put it in the root directory and edit it yourself); (gif | jpg) These are file types that can be added according to your own needs. For example, I have copied all files such as gif | jpg | png | js | css.

Finally, where does this code go?

If your host or server is a "win system", add it to httpd.conf; if it is a linux system, add it to. htaccess.

Don't forget to come back and give a thumbs up if you feel good about it.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

yes five Comments from netizens:

  •  Voting God Man

    Voting God Man Six years ago (2018-05-04) reply

    I would like to ask the blogger whether these codes can only be used with your template? Can I use other site building templates? In addition, can your template only be built in zblog?

  •  Netizens of Tianxing Studio

    Netizens of Tianxing Studio Eight years ago (2015-12-26) reply

    How does ASP steal chains???

  •  52 Completed design

    52 Completed design Eight years ago (November 13, 2015) reply

    Very helpful, helped me solve the problem, like one

  •  Know 91 blog

    Know 91 blog Nine years ago (2015-05-22) reply

    Just add watermark to the picture

    •  Weixifeng Blog

      Weixifeng Blog Nine years ago (2015-09-21) reply

      Not afraid of using your pictures, but stealing your traffic

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login