This brief tutorial shows students and new users how to block access to WordPress Admin Dashboard from unknown IP addresses and allow only IP addresses that are defined in Nginx configurations. This is one of many ways to protect and lock down your WordPress dashboard from unauthorized access or hackers who might want to hack into your WordPress admin site.
The method I’m going to describe below will allow only IP addresses are defined in the setup and block all others. Then all the blocked IPs will automatically be redirected to the site home page. You can choose to send the blocked traffic to any page you’d like but this method will send them to the main home page.
When you’re ready to configure these settings on Nginx to lock down WordPress Admin dashboard, continue below
Continue reading “Block Access to WordPress WP-Admin via Nginx on Ubuntu 17.04 | 17.10”