Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Change Your WordPress Login URL (2026), Safely

Install a login-URL plugin such as WPS Hide Login from Plugins, then Add New, activate it, and type your new login address on the settings page it opens. Bookmark that address straight away, because once it's set the old wp-login.php page and the wp-admin directory stop working, for you as well as for everyone else.

Setting a new login address for the first time

WPS Hide Login moves your login form page to whatever address you choose. First-time setup goes like this.

  1. In your dashboard, open Plugins, then Add New.
  2. Search for WPS Hide Login, then download and activate it.
  3. On the settings page it opens, type your new address.
  4. Bookmark the new address before you log out.

Then store it in at least two places: your browser bookmarks and your password manager, next to your username. If anyone else logs in to the site, send it to them too, because their saved link stops working the moment you change it.

Before you log out, open the new address in a second browser window and check the login form loads there. It takes a few seconds and confirms the bookmark you've just saved is the right one.

Changing the login address again later

You're not stuck with your first choice. The option can be revisited whenever you like.

  1. Log in through your current custom address.
  2. Go to Settings, then WPS Hide Login.
  3. Type the replacement address and update the setting.
  4. Replace your old bookmark and tell anyone else who logs in.

It's worth doing if the address has travelled further than you'd like, for example to a freelancer who's finished their work, or to someone who has left the business.

If your site uses a page caching plugin

Caching and a moved login page can clash. According to the plugin's notes, sites running a caching plugin other than WP Rocket should exclude the new login slug from caching.

  1. Open your caching plugin's settings.
  2. Find its list of pages it shouldn't cache.
  3. Add your new login slug and save.

The slug is the part after your domain. If your login page is your domain followed by a word of your choosing, that word is the slug. Change the address later and the exclusion needs updating to the new word as well.

Getting back in after losing the new address

This is the scenario to plan for before it happens. Switching the plugin off returns the site to its previous state, so the default login page answers again.

  1. Check your bookmarks and password manager first.
  2. If it's gone, ask whoever manages your hosting or development to deactivate the plugin.
  3. Log in at the default address once the plugin is off.
  4. Reactivate it, pick a new address and save it somewhere safe.

A recent copy of the site helps here too. Our guide to backing up a WordPress site covers the routine, so a mistake with any plugin is a quick restore rather than a long afternoon.

Forgotten your password rather than your address? That's a different fix: see resetting your password.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

What the plugin does behind the scenes

Knowing the mechanism explains why the change is so easy to reverse. Nothing in core gets renamed and no rewrite rules are added. The plugin simply intercepts page requests, which is why deactivating it puts everything back as it was.

The catch: easy to lock yourself out, and not a full defence

Two limits matter. The first is the lockout risk. Once the new address is set, wp-admin and wp-login.php are inaccessible, so losing it means no normal login until the plugin is deactivated.

The second is how much protection you get. The WordPress handbook says obscuring the login URL can reduce noise but shouldn't be your only defence. Moving the page cuts down automated traffic hammering the default address. It doesn't replace strong passwords, and our round-up of security plugins is the next stop if you want layers that do more than hide the door.

As of Nov 2026, the login screen is covered in WordPress's official documentation, which is the reference if your install behaves differently.

Frequently asked questions

What should I do before changing the login address?

Take a backup and decide where you'll keep the new address, so one slip doesn't leave you stuck outside.

I'm still logged in but forgot the new address. Where do I find it?

Open Settings, then WPS Hide Login. That's where the address is set, so you can check it there or replace it with one you'll keep.

Should WP Rocket users change anything?

No. The exclusion step is for other caching plugins.

What happens to my saved wp-admin bookmark?

It stops taking you to the login form once the new address is set, because the wp-admin directory becomes inaccessible. Swap it for the new address.

What makes a good new login address?

Something you'll remember but a stranger wouldn't guess. If you run several sites, use a different one on each, so one leak doesn't reveal the door to all of them.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.