Ashleyuk1984
Active Member
Hi,
I have a bunch of Japanese websites that hotlink loads of content. But all these websites appears to be the same rubbish type of scrapping websites, and I've noticed that there is something common in the URL about them.
I have been blocking loads of them with the htaccess file with a code like this
The common thing about these websites is a particular folder called, "htm_data".
For example,
www.website1.com/htm_data/ then the forum name etc.
www.website2.com/htm_data/ then the forum name etc.
www.website3.com/htm_data/ then the forum name etc.
There is literally 100's of these, and I'm having to block all of the websites with htm_data in it... It's getting to a stage where I don't even have to double check the website first.
Is there a way that I could just block any URL with that folder? Modify the above code in some way??
Something like this...
Would that work? I don't want to affect everyone else, just those websites.
It would just save me a lot of time blocking them like that, rather than just blocking the main domain one by one.
Thanks.
I have a bunch of Japanese websites that hotlink loads of content. But all these websites appears to be the same rubbish type of scrapping websites, and I've noticed that there is something common in the URL about them.
I have been blocking loads of them with the htaccess file with a code like this
Code:
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?760pp\.com/ [NC,OR]
The common thing about these websites is a particular folder called, "htm_data".
For example,
www.website1.com/htm_data/ then the forum name etc.
www.website2.com/htm_data/ then the forum name etc.
www.website3.com/htm_data/ then the forum name etc.
There is literally 100's of these, and I'm having to block all of the websites with htm_data in it... It's getting to a stage where I don't even have to double check the website first.
Is there a way that I could just block any URL with that folder? Modify the above code in some way??
Something like this...
Code:
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?[B]*[/B]\.[B]*[/B]/htm_data/ [NC,OR]
Would that work? I don't want to affect everyone else, just those websites.
It would just save me a lot of time blocking them like that, rather than just blocking the main domain one by one.
Thanks.
Last edited: