---

How to Block Access to wp-admin and wp-login in Nginx/Apache

Despite the reputation of the WordPress content management system exceeding all expectations in terms of flawless content publishing and seamless user-access control, there are still some worrying security breaches that need prioritized handling.

Two important access points on a WordPress website should be protected at all costs. The first one is the wp-login.php page responsible for accommodating both normal and privileged users.

Here’s how to do it.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis