How To Hide Your Wp Admin Login Page

How To Articles

Today, I want to talk about a topic that is near and dear to my heart – website security. As a website owner, keeping my website safe and secure is of utmost importance to me. One particular aspect of website security that often gets overlooked is the login page for the admin area.

By default, the login page for a WordPress website is easily accessible by appending “/wp-admin” or “/wp-login.php” to the website URL. This makes it an easy target for hackers who can easily launch brute force attacks to gain unauthorized access to the admin area. But fear not! There is a way to hide your WordPress admin login page and add an extra layer of security to your website.

Step 1: Install and activate a security plugin

The first step in hiding your WordPress admin login page is to install and activate a security plugin. There are several great options available, but my personal favorite is the “WPS Hide Login” plugin. This plugin allows you to change the URL of your login page to something custom, making it much harder for hackers to find.

Once you’ve installed and activated the plugin, you can access its settings by navigating to “Settings” > “General”. Scroll down until you see the “WPS Hide Login” section.

Step 2: Choose a custom login URL

Now that you’re in the “WPS Hide Login” settings, it’s time to choose a custom login URL. This can be anything you want, but I recommend using something that is not easily guessable. Avoid using common words or phrases, and instead opt for a combination of letters, numbers, and special characters.

Enter your desired custom login URL in the “Login URL” field. Make sure to take note of the URL as you’ll need it to access your WordPress admin area from now on.

Step 3: Save your changes and test

Once you’ve chosen your custom login URL, click the “Save Changes” button to apply your settings. Now, it’s time to test if the login page has been successfully hidden.

Open a new browser tab and enter your custom login URL in the address bar. If everything went well, you should see a “404 Not Found” error. This means that the login page is now hidden from public view.

Step 4: Accessing the admin area

From now on, whenever you need to access your WordPress admin area, you’ll need to use your custom login URL. Simply enter it in the browser address bar, and you’ll be directed to the login page.

Remember to bookmark this URL or write it down in a safe place, as it’s now your secret gateway to the admin area of your WordPress website.


By hiding your WordPress admin login page, you are taking a proactive step towards securing your website. Implementing this simple yet effective security measure can significantly reduce the risk of unauthorized access to your admin area.

Remember, website security is an ongoing process, and it’s important to stay vigilant and keep up with the latest security practices. By following the steps outlined in this article, you can add an extra layer of protection to your WordPress website and have peace of mind knowing that your admin login page is hidden from prying eyes.

If you want to learn more about how to secure your WordPress website, check out the official WordPress documentation or consult with a professional web developer.