How To Hide Login Page WordPress

How To Articles

As a WordPress user, one of the most important aspects of maintaining a secure website is to protect the login page. By default, the login page for a WordPress site is easily accessible to anyone who knows the URL. This can make your site vulnerable to brute force attacks and unauthorized access.

In this article, I will guide you through the process of hiding the login page on your WordPress site. By implementing this security measure, you can add an extra layer of protection to your website and keep malicious users at bay.

Why Should You Hide Your WordPress Login Page?

The default WordPress login page is known as wp-login.php. It is a common target for hackers and automated bots that attempt to gain access to your site using brute force attacks. These attacks involve repeatedly guessing different username and password combinations until they find a match.

By hiding your WordPress login page, you can make it harder for potential attackers to locate the page and launch their malicious activities. This simple step can significantly decrease the likelihood of successful brute force attacks on your site.

Steps to Hide Your WordPress Login Page

Now let’s dive into the process of hiding the login page on your WordPress site:

  1. Choose a New Login URL: The first step is to choose a new URL for your WordPress login page. This URL should be unique and not easily guessable. It’s important to avoid using common names like “login” or “admin” as this makes it easier for attackers to find the page. You can use a plugin like WPS Hide Login to easily change the login URL.
  2. Install and Activate the Plugin: Once you have chosen your new login URL, you will need to install and activate the WPS Hide Login plugin. This plugin allows you to change the default login URL and customize it according to your preferences.
  3. Access the Plugin Settings: After activating the plugin, you can access its settings by navigating to “Settings” > “WPS Hide Login” in your WordPress dashboard. Here, you can specify the URL you want to use as your new login page.
  4. Save Changes: Once you have entered your desired login URL, click on the “Save Changes” button to update the settings. From this point forward, your WordPress login page will be accessible only through the new login URL you have chosen.

By following these simple steps, you can effectively hide your WordPress login page and enhance the security of your website. Remember to choose a strong username and password combination for added protection.


Hiding the login page of your WordPress site is a proactive step towards protecting your website from unauthorized access and malicious attacks. By choosing a unique login URL and using a plugin like WPS Hide Login, you can significantly reduce the risk of brute force attacks on your site.

Remember, maintaining a secure WordPress site is an ongoing process. It is essential to regularly update your plugins and themes, use strong passwords, and keep your site backup up-to-date. By implementing these security measures, you can ensure the safety and stability of your WordPress website.