Change WordPress Login Page Url

In this article, I will guide you through the process of changing the login page URL for your WordPress website. As a WordPress user myself, I understand the importance of security and taking steps to protect your website from potential attacks. By changing the default login page URL, you can add an extra layer of security and make it more difficult for hackers to gain unauthorized access to your site. So let’s dive in!

Step 1: Install and Activate a Security Plugin

The first step is to install and activate a security plugin that offers the feature to change the login page URL. One popular plugin that provides this functionality is WPS Hide Login. This plugin allows you to easily change the default login page URL and customize it to your preference.

To install the plugin, log in to your WordPress dashboard and navigate to Plugins > Add New. Search for “WPS Hide Login” in the search bar, and once you find it, click on the “Install Now” button. After the installation is complete, click on the “Activate” button to activate the plugin.

Step 2: Access the Plugin Settings

Once the plugin is activated, you can access its settings by navigating to Settings > WPS Hide Login in your WordPress dashboard. Here, you will find various options to customize the login page URL.

Step 2.1: Choose a New Login URL

In the “Login URL” field, enter the desired URL that you want to use for your login page. It’s recommended to choose a unique and memorable URL that is not easily guessable. For example, instead of using the default “/wp-login.php” or “/wp-admin” URLs, you can use something like “/my-secret-login” or “/login-here”.

Step 2.2: Optionally Disable the wp-admin Directory

WPS Hide Login also provides an option to disable the wp-admin directory entirely. Enabling this option adds an extra layer of security by redirecting anyone who tries to access the wp-admin directory to a 404 page. If you choose to disable the wp-admin directory, make sure to remember the new login URL you set earlier.

Step 3: Save Changes and Test

After you have set the desired login page URL and made any other necessary configurations, click on the “Save Changes” button to save your settings. Make sure to test the new login page URL by logging out of your WordPress dashboard and accessing the new URL in your browser. If everything is set up correctly, you should see the login page with the new URL.


Changing the login page URL for your WordPress website is a simple yet effective way to enhance the security of your site. By following the steps outlined in this article, you can easily customize the login URL and make it more difficult for potential attackers to gain unauthorized access.

Remember, always prioritize the security of your website and take proactive measures to protect it. Stay vigilant, keep your plugins and themes updated, and regularly monitor your site for any suspicious activities.