Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Site being hit by bots use of .htaccess?

Discussion in 'General Discussion' started by MrTall, Mar 23, 2014.

  1. MrTall

    MrTall Member

    Joined:
    Aug 18, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I have no idea to where this should be posted here but I'm hoping for any help. I have noticed my site running phpbb is consistently having in excess of 500 guests all presumed to be bots using the following:

    What would be the best way to block this traffic? .htaccess, firewall? and how?

    Really appreciate any assistance on this! :)

    Thanks
     
  2. rootsmoke

    rootsmoke Registered

    Joined:
    Nov 22, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Site being hit by bots ... use of .htaccess?

    Hello,

    You can restrict other bots with is crawling your website via following URL.
    ===
    /http://www.inmotionhosting.com/support/website/restricting-bots/how-to-stop-search-engines-from-crawling-your-website
    How to stop Search Engines from crawling your Website | InMotion Hosting
    ===

    Further, you can installed CSF firewall to block IP such as set connlimit.
     
  3. robb3369

    robb3369 Well-Known Member

    Joined:
    Mar 1, 2008
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Re: Site being hit by bots ... use of .htaccess?

    This may help...
    How to Block Unwanted Bots from Your Website with .htaccess (thesitewizard.com)

    - - - Updated - - -

    Actually looking deeper... We have a large vBulletin forum that uses the StopForumSpam data feed to block these forum type bots... They do have a module that works with phpBB, but it looks like the developer opened it up on GitHub:
    https://github.com/EXreaction/Anti-Spam-ACP

    Not sure if this helps, but maybe worth a look...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Re: Site being hit by bots ... use of .htaccess?

    We are using Mod-Security so it is server wide, you might check out PuntaPirata - ModSec Taylor Made and Tweaks by Sergio
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,391
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Keep in mind that you should review the IP addresses of some of the bots to ensure you actually want to block them. For instance, you may want to allow Google bots to scan your forums so that the results are listed on the Google search engine.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice