How To Hide WordPress Default Login Page That Supports Woocommerce

How To Articles

As a WordPress user with a WooCommerce-powered online store, you might be concerned about the security of your website. One important step you can take to protect your site is to hide the default WordPress login page. By doing this, you make it harder for potential hackers to find and gain access to your site’s admin area.

In this article, I’ll guide you through the process of hiding the WordPress default login page, specifically for WooCommerce websites. I’ll provide you with step-by-step instructions as well as some personal commentary based on my own experiences.

Why Hide the Default WordPress Login Page?

By default, the WordPress login page can be accessed by appending “/wp-login.php” or “/wp-admin” to your website’s URL. This makes it relatively easy for hackers to locate your login page and attempt to gain unauthorized access.

However, by hiding the default login page, you add an extra layer of security to your website. It makes it harder for hackers to find the login page, reducing the risk of brute force attacks and unauthorized login attempts.

Step 1: Install and Activate a Security Plugin

To hide the WordPress default login page, we’ll be using a security plugin called “WPS Hide Login”. This plugin allows you to change the default login page URL to a custom one of your choice. Here’s how to get started:

  1. Log in to your WordPress dashboard.
  2. Go to “Plugins” > “Add New”.
  3. Search for “WPS Hide Login”.
  4. Click “Install Now” and then “Activate”.

Once the plugin is activated, we can proceed to the next step.

Step 2: Configure WPS Hide Login

After activating the plugin, you’ll find a new option called “WPS Hide Login” in your WordPress dashboard’s settings. Here’s how to configure it:

  1. Go to “Settings” > “WPS Hide Login”.
  2. Under “Login URL”, enter the custom URL you want to use for your login page. This could be something unique and unrelated to WordPress, such as “/my-secret-login”.
  3. Click “Save Changes”.

With the login URL customized, the default WordPress login page will now be hidden and replaced by the new URL you’ve set.

Step 3: Test the Custom Login Page

It’s important to test the custom login page to ensure it’s working as expected. Here’s how to do it:

  1. Open a new incognito or private browsing window.
  2. Enter your website’s URL followed by the custom login page URL you’ve set. For example, “”.
  3. You should be redirected to the login page. Enter your admin credentials to log in.

If everything is working correctly, you should be able to log in to your WordPress admin area using the custom login page URL.

Personal Commentary

As someone who has been using WordPress for several years and has experience with WooCommerce, I can attest to the importance of securing your online store. By hiding the default login page, you’re adding an extra layer of protection that can help prevent unauthorized access.

I’ve personally used the “WPS Hide Login” plugin for my own WooCommerce websites, and I find it to be a reliable and user-friendly solution. It’s easy to install, configure, and test, making it ideal for WordPress users of all skill levels.


Hiding the default WordPress login page is a simple yet effective security measure that can enhance the protection of your WooCommerce website. By using the “WPS Hide Login” plugin, you can easily customize the login page URL and make it harder for potential hackers to find.

Remember to regularly update your WordPress plugins, themes, and core files to ensure the overall security of your website. Stay vigilant and take proactive steps to protect your online store from any potential threats.

If you’d like to learn more about hiding the default login page for WooCommerce, you can visit the official plugin page and explore the documentation and support forums.