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!

Hi id like to ban a site tried inside apache and cpanel ip ban

Discussion in 'EasyApache' started by kbos2hm, Feb 25, 2014.

  1. kbos2hm

    kbos2hm Member

    Joined:
    Jan 29, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Newcastle upon Tyne, United Ki
    Hi

    i've been away for a bit bit last time i had a bit of a question with word press and great got it sorted thanks again. I have a problem with a site. I have wrote in robots.txt and the site ignores it completely still gets past. So i thought great next i band it using ip blocker within cpanel thats great as well but it has so many different ips and its getting slightly annoying. Is there a way of denying access to a site say 000.com insted of going threw ips or should i talk to my host. The main reason its annoying because its ruining my stats and bounce rate.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    What entries did you use in your robots.txt file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kbos2hm

    kbos2hm Member

    Joined:
    Jan 29, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Newcastle upon Tyne, United Ki
    ok figured out what i was doing wrong i put the wrong information in robots.txt it was supposed to be in .htaccess its sorted now and works a treat. I only noticed i had done it wrong when google webmaster tools showed it as an error in robots.txt
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    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