Hide website - Make it inaccessible

How do I make the website inaccessible to everybody except a certain IP? So that hackers cant find potential security holes and infect / hack the site?

Hi @ilovewp,

This can be accomplished in multiple ways.

I assume that there are some security plugins that provide options for this. I don’t have much experience with these, so I can’t recommend one.

If you use Cloudflare, you can create certain Firewall rules to block access from any IP and allow only from yours.

If you don’t use Cloudflare, I assume that your host also allows you to manage custom firewall rules.

Also, if you are familiar, you can write custom .htaccess rules to accomplish this. Maybe this article helps:

2 Likes

Awesome, thats what I needed, thanks a lot!

1 Like

You’re welcome. I am glad I could help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.