hide login

Change WordPress Login URL

Last modified: May 25, 2026

Fiverr freelancers

Every WordPress site starts with the same login URL: /wp-login.php or /wp-admin. Because these paths are identical across every WordPress installation worldwide, automated bots constantly probe them, trying common username and password combinations in what is called a brute force attack. This runs 24/7 against any WordPress site that has not taken steps to block it.

Changing your WordPress login URL is one of the fastest security measures you can apply. The default WordPress login URL does not need to be public-facing, and hiding it removes a major attack surface without any performance cost.

Changing the WordPress Login URL

The most reliable, non-technical method is a plugin. No code editing required.

# Name Image
1
WPS Hide Login
WPS hide login
More Info
Show More

* This button will show the rest of the post and open up an offer from a vendor

WPS Hide Login

WPS hide login

WPS Hide Login is a lightweight plugin that intercepts WordPress’s login process and moves it to a URL of your choosing. The original /wp-login.php path returns a 404 error, and direct access to /wp-admin redirects to the same 404. Bots that probe those URLs hit a dead end and move on.

How to set it up:

  1. In your WordPress dashboard, go to Plugins > Add New and search for “WPS Hide Login”. Install and activate it.
  2. After activation, go to Settings > General and scroll to the bottom. You will see a “WPS Hide Login” section with a field for your custom login URL.
  3. Enter a new path name. Avoid common guesses like “admin”, “login”, “dashboard”, or “user”. A short, random-ish word works well (for example: “portal”, “signin”, or something unrelated to login entirely).
  4. Choose a “Redirect URL”: this is where anyone who tries to access the old /wp-login.php or /wp-admin gets sent. The default is a 404 page, which is fine.
  5. Save changes.

Before you log out, test the new URL:

Open a new browser window or incognito tab and go to yoursite.com/your-new-login-path. If the login form appears, the plugin is working. Log in to confirm. Only then close your existing session.

If the new login URL is not working:

  • Check that the path you entered does not conflict with an existing page slug on your site.
  • Try flushing your permalink settings: go to Settings > Permalinks and click “Save Changes” without making any edits. This forces WordPress to rewrite its rewrite rules.
  • If you get locked out, you can deactivate the plugin via FTP or cPanel by renaming the plugin folder in wp-content/plugins/. The login URL reverts to the default immediately.

What about logging out and back in?

Once the new URL is active, WordPress login links in emails and on the frontend will still work. They redirect through the standard login process, which WPS Hide Login intercepts and reroutes. The only thing that changes is the URL where you type your credentials.

Worth knowing: This approach is called “security through obscurity” and works well as one layer in a broader security setup. Combine it with a strong password, two-factor authentication, and limiting login attempts for a more complete defense.

Final Word: Change Your WordPress Login URL

Changing the WordPress login URL is a small task with a noticeable security benefit. It does not stop a determined attacker who has already identified your site’s platform, but it eliminates the vast majority of automated brute force traffic that hits standard WordPress login paths every day.

WPS Hide Login handles this without any configuration files, code changes, or server access. Install it, choose a sensible path, test it, and you are done. Make sure whoever manages your site knows the new URL. Save it somewhere secure so it does not get forgotten after the next time someone clears their browser history.

Recap:
Contents [Hide]
Save 4 Later
Email liked links to yourself

    Stay Updated with WordPress Insights

    Get the latest WordPress tips, theme reviews, and industry deals delivered to your inbox.