WordPress.org

Ready to get started?Download WordPress

Forums

WP SlimStat
[resolved] thanks to slimstat gave me insight to block certain bots (2 posts)

  1. scruffy1
    Member
    Posted 1 year ago #

    hi

    i used this in .htaccess to block bots if anyone finds it useful, the slimstat helped me figure out which ones were crawling and ignoring robots.txt

    SetEnvIfNoCase User-agent "Baidu" spammer=yes
    SetEnvIfNoCase User-agent "Yandex" spammer=yes
    SetEnvIfNoCase User-agent "ebookexplorer" spammer=yes
    SetEnvIfNoCase User-agent "liquidonline" spammer=yes
    
    <Limit GET PUT POST>
    
    order deny,allow
    
    deny from env=spammer
    </Limit>

    so far it has stopped the bots listed

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for this, very good point. I'm planning to add some 'hooks' to WP SlimStat, so that other plugin writers can automate this process.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags