/    Sign up×
Community /Pin to ProfileBookmark

[HELP] Visiting IP Ban?

Is there a simple way of banning an IP or a range of IPs from visiting my site permanently?

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@Major_PayneNov 18.2007 — Make a robots.txt file and add:

[CODE]User-agent: 38.99.203.110 (Example IP Address)
Disallow: /[/CODE]


If you have a Control Panel via your hosting service, there is a tool in it that will allow you to ban IPs very easily.

Ron
Copy linkTweet thisAlerts:
@m_munozauthorNov 18.2007 — thanks for the reply.

but i just figured out how to work with .htaccess, thanks again.
Copy linkTweet thisAlerts:
@Major_PayneNov 18.2007 — But if you use your Control panel, it does all the work for you. That's why I did not go into how to do it with .htaccess file. A lot easier using the Control Panel to ban IPs.

Ron
Copy linkTweet thisAlerts:
@m_munozauthorNov 18.2007 — Unfortunately my host doesnt have that feature (rather, they have it but it doesnt work). So I was forced to use htaccess instead.
Copy linkTweet thisAlerts:
@Major_PayneNov 18.2007 — Sorry to hear the Control Panel doesn't work. Think I would call or put in a support ticket concerning the problem or change host when renewal time comes up. Glad you got your solution tho. That's the important thing.

Ron
×

Success!

Help @m_munoz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...