protection
French 
CrawlTrack, webmaster dashboard.
Web analytic, SEO and protection

CrawlProtect, your website safety.
Reinforced protection

Two php/MySQL scripts, free and easy to install
The tools you need to manage and keep control of your site.





diable

CrawlTrack and CrawlProtect support forum

You are not logged in.


#1 06-07-2012 02:38:02

papajim
Nouveau membre
Registered: 06-07-2012
Posts: 1

Crawlprotect thinks images in addon domains are hotlinks

Am having a problem.  Installed Crawlprotect (also Crawltrack) on my wife's WordPress site some weeks back and it appears to be working fine. 

However, her site is the root domain on our server.  We have two addon domains and Crawlprotect's hotlink-blocking feature is blocking most graphics from showing up in the WordPress installs on the addon domains (even inside wp-admin). 

After logging into the addon sites, I see their urls showing as multiple hotlink attempts in the Crawlprotect attacks log.

Can anyone suggest how to solve this without turning off the hotlink-blocking feature?

Offline

 

#2 06-07-2012 08:07:36

Jidébé
Administrateur
Registered: 30-10-2005
Posts: 2946

Re: Crawlprotect thinks images in addon domains are hotlinks

Hi,

With the actual release you will have to modified manually the htaccess (It will be take into account in the next release).

In your htacess you have:

Code:

#----------------------------------------------------------------------
# No HotLinking
#----------------------------------------------------------------------
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ 
RewriteCond %{HTTP_USER_AGENT} !^Googlebot [NC]
RewriteCond %{HTTP_USER_AGENT} !^Googlebot-Image [NC]
RewriteCond %{HTTP_USER_AGENT} !^Googlebot-Mobile [NC]
...
...

If you want to authorize a new site (www.example.com) you have to add one line like that:

Code:

#----------------------------------------------------------------------
# No HotLinking
#----------------------------------------------------------------------
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$ 
RewriteCond %{HTTP_USER_AGENT} !^Googlebot [NC]
RewriteCond %{HTTP_USER_AGENT} !^Googlebot-Image [NC]
RewriteCond %{HTTP_USER_AGENT} !^Googlebot-Mobile [NC]
...
...

You can add as many lines as you want.

As it's a manual modification of the htaccess, you will have to replace it each time you will recreate a new htaccess.
I will propose that multi-domain option in the next release.

Jean-Denis


CrawlTrack & CrawlProtect developer

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB