Quality Web Design Service

Quality Web design services

Quality Web Design Services From DigitalSEO

We take all type of web design services.
Logo Design, Banner design, Template design, template code
Uncoded templates, Coded templates for WP, Joomla, Postnuke
Read more about our services and prices
Digital SEO arrow T&T arrow Stop css stealing
Stop css stealing Print E-mail
Written by Imran   
How can Any one stop CSS Stealing??

Recently I had one site (which I sold recently) was being copied and duplicated by bollywoodsargam.com.

Hence I decided to provide anti-leach technique to images as well as files.

Using:


RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]

RewriteRule \.(jpg|gif|js|css)$ - [F]

 

This resulted in my images which were indexed by search engines been shown 403 forbiddin that was really a bad idea, I had to say no no to it

So I decided to modify the above code to fit exactly in only blocking CSS Files and nothing else.

Using:

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]

RewriteRule \.(js|css)$ - [F]

 

This really helped, get the images back on Index and stop CSS stealing and it looks like the CSS Stealers page is completly broken.

 

Replace Mydomain.com with your domain name. 

 
< Prev   Next >