Can I block an IP address from my wordpress blog?

I run a blog and for it i use wordpress, theres someone that visits my site constantly but I dont want that person to be looking at my site, we are close, and I can get its IP address, is there any way I can block that persons IP address to they cant see my website??

thanks.

2

✅ Answers

? Favorite Answer

  • do you host your blog site? If so, look for file name .htaccess in your root directory. Then add following:

    deny from 123.45.6.7

    Replace “123.45.6.7” with actual IP that you want to block.

    Hope this helps.

    Source(s): http://www.compare-top-web-hosts.com/

  • Keep in mind that ip address through most internet service providers are just temporary ip’s. They may get a new ip and you would not know. If they have a static ip address then that would not be a problem of course.

    Source(s): http://www.get-pnb.com/

  • Leave a Comment