How To Hide WordPress Admin Login Page

How To Articles

In this article, I will guide you through the process of hiding your WordPress admin login page. As a WordPress user myself, I understand the importance of security and how crucial it is to protect your website from potential threats and unauthorized access.

Why hide the WordPress admin login page?

The default WordPress login page can be easily accessed by adding “/wp-admin” or “/wp-login.php” to your website’s URL. This makes it vulnerable to brute-force attacks, where hackers continuously try different username and password combinations until they gain access to your admin panel. By hiding the login page, you add an extra layer of security and reduce the risk of unauthorized access.

Steps to hide the WordPress admin login page

Follow these steps to hide your WordPress admin login page:

  1. Create a backup: Before making any changes to your website, it’s essential to create a backup of your WordPress files and database. This ensures that you have a restore point in case anything goes wrong during the process.
  2. Install a security plugin: There are various security plugins available for WordPress that offer features to hide the login page. One popular option is the “WPS Hide Login” plugin. Install and activate the plugin from the WordPress plugin repository.
  3. Configure the plugin: After activating the plugin, go to the plugin’s settings page. Here, you can choose a custom login URL that will replace the default “/wp-admin” or “/wp-login.php”. Select a unique URL that is easy to remember but difficult for others to guess.
  4. Save changes and test: Once you’ve configured the plugin and saved the changes, try accessing your website’s default login page using the new custom URL. You should be redirected to a 404 error page or a custom error message, indicating that the login page is hidden.


Hiding your WordPress admin login page is a simple yet effective way to improve the security of your website. By following the steps outlined in this article and using a security plugin like “WPS Hide Login,” you can make it more difficult for hackers to gain unauthorized access to your admin panel. Remember to always keep your WordPress installation, themes, and plugins up to date to further enhance your website’s security.