Penge Posted January 13, 2016 Share Posted January 13, 2016 Hello What is the best way to prevent bots and crawlers to not show up as a visitor on the stat module in Prestashop ? Thanks Petter Link to comment Share on other sites More sharing options...
javgoji Posted June 28, 2016 Share Posted June 28, 2016 (edited) By blocking bad bots in your .htaccess Here's a list of 'bad' user agents: https://github.com/bluedragonz/bad-bot-blocker/blob/master/.htaccess Make sure you place it outside of the part that's automatically generated by PrestaShop. Very useful your response, thank you. I wonder where i must put my new .htaccess for this purpose. Can i have a new folder "bots" with my .htaccess file to avoid Prestashop override ? Edited June 28, 2016 by javgoji (see edit history) Link to comment Share on other sites More sharing options...
javgoji Posted June 29, 2016 Share Posted June 29, 2016 Thank you for your help. Link to comment Share on other sites More sharing options...
Tomboulen Posted May 25 Share Posted May 25 I have exactly the same question, but the answer given here is not satisfactory, because we must not block robots or crawlers otherwise we will lose the SEO I searched for the part of the code that records visits in the ps_connections table in the database to exclude robots in this record, but with a lot of research, it remains untraceable. Anybody know the solution? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now