How to change WordPress Admin Login URL Path?

Key Takeaways

  • Nexter Extension plugin allows users to change the default WordPress admin URL from wp-admin to a custom path for enhanced security.
  • Users can select from three options in the Login URL Behaviour dropdown: Message, Home Page, or 404 Page Template, to control access to the old login URL.
  • Redirecting visitors who attempt to access the old wp-admin path can be configured using Nexter Extension, enhancing protection against unauthorized access.
Table of Contents

The default WordPress admin URL is wp-admin, shared across every WordPress site, which makes it a target for brute force attacks. Changing your login URL path is one of the most effective steps you can take to secure your WordPress dashboard.

It is straightforward to change the WordPress admin URL to something more secure with the Nexter Extension plugin.

Best Used For:

  • Replacing the default wp-admin login path with a unique, hard-to-guess URL
  • Protecting your login page from automated brute force and credential-stuffing attacks
  • Controlling what happens when someone tries to access the old login URL

 

Learn via Video Tutorial

Youtube video

To replace your WordPress admin URL, follow the steps.

Go to Nexter > Extensions > Security

Then go to the Custom Login URL section, enable the toggle, and click the gear icon (⚙).

How to change WordPress Admin Login URL Path?

A popup will appear. In the Change WP Admin Login Path field, add your custom login URL.

change login url path

For instance, you can add something like “secure-login” and if you click the Save button, your WordPress admin URL will change from https://yoursite.com/wp-admin to https://yoursite.com/secure-login.

Do not click Save yet.

From the Login URL Behaviour dropdown, choose the behavior if someone tries to access your old login URL.

The dropdown has three options:

custom login url behaviour

  • Message (default) – With this option, you can add a custom message that will appear when a user tries to access your old admin URL.
  • Home Page – With this option, you can redirect the user to the home page of your website.
  • 404 Page Template – You can redirect the user to a 404 error page with this option.

Once you choose the appropriate option, click the Save button and your WordPress wp-admin URL has been changed.

From now on, use the new login URL to log in to your WordPress dashboard.

For additional login security, see How to Limit Failed Login Attempts in WordPress to block repeated failed login attempts.

Redirecting WP Admin URL to Home Page

If you want to redirect visitors to the home page when they try to access your old WordPress login URL, you can do that with Nexter Extension.

To do this, in the Custom Login URL popup after you have set your custom login URL in the Change WP Admin Login Path field, choose the Home Page option from the Login URL Behaviour dropdown.

Then click the Save button.

This will redirect anyone who tries to reach your WordPress site through the default wp-admin path to the home page instead.

custom login home

Redirect WP Admin URL to 404 Page

If you want to send unwanted visitors to a 404 error page, Nexter Extension has this option.

To do this, in the Custom Login URL popup after you have set your custom login URL in the Change WP Admin Login Path field, choose the 404 Page Template option from the Login URL Behaviour dropdown.

Then click the Save button.

Now if you try to access the default wp-admin path instead of the new login path, it will redirect you to a 404 Page Not Found error page.

custom login 404

To customize the appearance of that 404 page, see How to Create a 404 Page Template in WordPress for Free.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!