1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to block sh*tty bots registering/accessing my wordpress website?

Discussion in 'Black Hat SEO' started by taniya, May 25, 2013.

  1. taniya

    taniya Regular Member

    Joined:
    Jul 29, 2011
    Messages:
    394
    Likes Received:
    102
    Hello,

    I have shopperpress installed and im getting loads of bots registering on my website, generating fake traffic.

    How can i end this? I googled it but those solutions didnt stop the problem.

    If someone can help, it would be great.

    thanks
     
    • Thanks Thanks x 1
  2. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    863
    Occupation:
    Cleaning servers
    What you googled ? What solutions you tried ?

    - Do you need to have opened registrations to site ? If not, turn them off in admin panel.
    - Same thing for comments - if you don't use it like blog and you don't want comments on your products or whatever you are doing on site, in admin panel are options to disable comments.
    - Check this post, install that script like explained, it will stop bunch of bots. Put email credentials to receive logs of traffic, see what bots are passing protection and add them on bot list. For few days you will eliminate them.
     
    • Thanks Thanks x 1
  3. asiavirtualsolution

    asiavirtualsolution Junior Member

    Joined:
    May 18, 2013
    Messages:
    198
    Likes Received:
    36
    Occupation:
    www.asiavirtualsolutions.com ,Internet Marketing,
    Location:
    Asia
    Home Page:
    I use a tool called Spyder Spanker to stop all bad bots automatically and also able to manually block them by agent name- Just Search for Spyder Spanker on Google.
     
    • Thanks Thanks x 1
  4. rans333

    rans333 Registered Member

    Joined:
    Sep 30, 2012
    Messages:
    93
    Likes Received:
    40
    Cool advice, will try it also
     
  5. blackberry

    blackberry Power Member

    Joined:
    Apr 26, 2009
    Messages:
    675
    Likes Received:
    218
    Occupation:
    Making money
    Location:
    Planet Earth
    Just us htaccess for this. I use it personally and blocks almost all spam registrations.
    If your interested, reply to the thread and i will post the code here.
     
    • Thanks Thanks x 1
  6. taniya

    taniya Regular Member

    Joined:
    Jul 29, 2011
    Messages:
    394
    Likes Received:
    102
    yes, please paste your code here...



    Rep+ added to all who replied.

    thanks....will try everything
     
  7. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    863
    Occupation:
    Cleaning servers
    Look for Perishable 5g Firewall, set of rules and directives for .htaccess . Similar thing will do BulletProof Security wp plugin, free in wordpress repository. Prevents and harden against most of the web application hacks, sql/xss/rfi/lfi etc
     
    • Thanks Thanks x 1
  8. verilix

    verilix Jr. VIP Jr. VIP

    Joined:
    Sep 18, 2009
    Messages:
    2,879
    Likes Received:
    1,277
    What exactly did you try searching for?
     
    • Thanks Thanks x 1
  9. blackberry

    blackberry Power Member

    Joined:
    Apr 26, 2009
    Messages:
    675
    Likes Received:
    218
    Occupation:
    Making money
    Location:
    Planet Earth
    Here are a few examples:

    # END spammers and trolls
    # This example demands you manually add and block spammers etc by IP address
    order allow,deny
    deny from {IP ADDRESS}
    deny from {SECOND IP ADDRESS ONE PER LINE}
    deny from {YOU CAN ALSO USE DOMAIN NAME trollhostname.com}
    allow from all
    # END spammers and trolls


    another way to do it is:

    #This way blocks automated registrations if people did not come to your site directly
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{HTTP_REFERER} !^http://www.urltoyoursite.com [NC]
    RewriteRule .* - [F]
    # END

    another way is:

    # With this example if the referrer is blank it stops them registering etc. Most spammers remove the referrer
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule .* - [F]
    # END Block blank referrer


    There are more but these examples should help you get started.
     
    • Thanks Thanks x 1