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 01-10-2013 15:50:04

Ikcora
Nouveau membre
Registered: 19-02-2012
Posts: 3

CrawlProtect Tag not in place

Hey!

Great Scripts smile Thank you for that!

I installed CrawlProtect and inserted the CrawlProtect Tag at the beginning of my page. But there is still the red cross at "CrawlProtect Tag in place" in the Crawlprotect Backend.

I had to exclude the crawlprotect folder three times in my htacces rewrite-rules to make the installation process and the login of crawlprotect working. Is it possible that here is the problem:

    #301 redirect to https
    RewriteCond %{SERVER_PORT} !^443
    RewriteCond %{REQUEST_URI} !^(.*)crawlprotect(.*)$ [NC]
    RewriteRule ^ https : / / mydomain . com%{REQUEST_URI} [R=301,L]

    #Rewrite to remove index.php from URL
    RewriteCond %{THE_REQUEST} \/index\.(php|html)\ HTTP [NC]
    RewriteCond %{REQUEST_URI} !^(.*)crawlprotect(.*)$ [NC]
    RewriteRule (.*)index\.(php|html)$ /$1 [R=301,L]

    #Rewrite from php to html filetype
    RewriteRule ^([^.]+)\.html$ /$1.php?rw=1 [QSA,L]
    RewriteCond %{REQUEST_URI} !^(.*)crawlprotect(.*)$ [NC]
    RewriteCond %{QUERY_STRING} !^rw=1
    RewriteRule ^([^.]+)\.php$ /$1.html [R=301,L]

Or do you have any other ideas qhy crawlprotect does not detect the included CrawlProtect Tag?

Greetings,
Ikcora

Offline

 

#2 01-10-2013 19:43:46

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

Re: CrawlProtect Tag not in place

Hi,

CrawlProtect is looking in the index.php file at the root of the site to look for the tag.
If the tag is in an other file it will not be detected, I'm thinking of a way to detect it in any case for the next release.

Regards,

Jean-Denis


CrawlTrack & CrawlProtect developer

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB