# WP Admin login and custom login addresses

> How Log in to WP Admin and Visit WP login work, how to turn one click login on or off, and how WP Waterfall follows a login page that a security plugin moved.

Source: https://docs.wpwaterfall.com/wp-admin-login

**Log in to WP Admin** signs you in to WordPress without a password. **Visit WP login** opens the normal login form, where you use your WordPress username and password. Both are on your site's **Info** tab, and **Visit WP login** is also under the primary domain on the **Domains** tab.

Needs WordPress on the environment. See [Run a site without WordPress](https://docs.wpwaterfall.com/run-a-site-without-wordpress).

The link from **Log in to WP Admin** works once and expires after 60 seconds. On a [WordPress Multisite](https://docs.wpwaterfall.com/wordpress-multisite) network, **Log in to Network Admin** on the **WordPress network** card makes the same link and lands a super administrator in the Network Admin. Anyone else lands on the main site's dashboard.

## How do I turn one click login on or off?

One click login starts off on a new environment. Until you turn it on, the Info tab has no **Log in to WP Admin** button, and **User Management** has no **WP Admin auto-login** card. Open **Tools** and use the **One click WordPress login** card to turn it on or off. The switch works the same on live, staging, and previews. It runs as a job and shows in User activity.

**Turning it on creates your WordPress user.** If no WordPress user has your email, WP Waterfall adds an administrator for you with a random password nobody sees, your account name as the display name, and a login name taken from your email. A user that already has your email is never changed. Only a member who can manage WordPress users gets one this way. **Log in to WP Admin** does the same the first time you use it, so you never meet a "no WordPress user" error. Other members are not given an administrator: they sign in as an existing user or ask an owner to add them.

**Turning it off removes what it created.** WP Waterfall marks each user it creates, and deletes only those users when you turn the tool off. Their posts and pages move to another administrator. A user you added yourself, or one that existed before, is never deleted. If a user WP Waterfall created is the only administrator left, it stays so the site is never locked, and the job says so. In the WordPress users list these users show **Created by WP Waterfall**. Both changes run as jobs named **Login user creation** and **Login user removal**, and show in User activity.

The user changes need a server that WP Waterfall has updated to the 2026-11-06 build. On an older server the switch still works, but WordPress users are not created or removed until the server is updated. A user made at sign in on an older server is not marked, so turning the tool off does not remove it.

While it is off:

- WP Waterfall makes no login links. **Log in as this user** leaves the WordPress users list, and the **WP Admin auto-login** card and the **Log in to WP Admin** button are hidden.
- WP Waterfall support cannot use a one click sign-in for the site. Support asks you to turn it on first.
- Links made just before you turned it off stop working.
- The site answers `/.well-known/wpwaterfall-login` with a plain "not found" page.
- **Visit WP login** still works.

**Why it starts off.** Anyone who signs in to your WP Waterfall company with the right role can open WordPress admin without a WordPress password. An API key cannot: the sign-in route takes a dashboard session only, so a leaked key never becomes a signed-in WordPress administrator. Leave it off when every sign-in must go through the WordPress login form, for example so a security plugin's two-factor check or login log covers it, or when people manage the site in WP Waterfall who should not be WordPress administrators.

Through the API, send `PUT /v1/environments/{id}/tools/auto-login` with `{"enabled": false}` or `{"enabled": true}`. While it is off, `POST /v1/environments/{id}/wp-admin-login` answers `409` with the code `auto_login_disabled`. That route takes a dashboard session, not an API key. Send `network: true` to it to land in the Network Admin. It signs you in as the WordPress user with your own email. Sending `email` to sign in as another WordPress user needs a role that manages WordPress users, so a Site Developer can sign in only as themself. With an API key or MCP, `GET /v1/environments/{id}/wp-login-url` gives the login address. The MCP tool `set_auto_login_enabled` does the same as the switch, including the user changes. `GET /v1/environments/{id}/wp-users` returns `created_by_platform: true` for a user WP Waterfall created.

## What if a plugin moved my login address?

Security plugins such as Solid Security, WPS Hide Login, Patchstack, and All-In-One Security can move the login page from `/wp-login.php` to a secret address like `/my-secret-login/`. WP Waterfall follows the change:

- The WP Waterfall MU plugin asks WordPress where its login page is.
- **Visit WP login** opens that address, on your primary domain or the temporary domain when there is no primary domain.
- WP Waterfall checks the address again when it is more than an hour old, and after a plugin is activated, deactivated, installed, updated, or deleted through WP Waterfall.
- Until the site reports its address, the link opens `/wp-login.php`.

**Log in to WP Admin** keeps working with these plugins. It signs you in before they check the request.

## Who can see the address?

People who can see the site in the dashboard, and API keys with the `sites:read` scope, through `GET /v1/environments/{id}/wp-login-url`. It is never part of the public health check.

## Quick answers

**Visit WP login opens a page that does not exist.**
The address may have changed outside WP Waterfall, for example in the plugin's settings. Reload the dashboard in a moment, or use **Log in to WP Admin**, which does not need the login page.

**The label says a plugin on this site changed the address, with no name.**
Code that WP Waterfall does not recognize, such as a theme or a custom plugin, changed it. The link still opens the right page.

**Log in to WP Admin shows an error instead of a link.**
WP Waterfall loads the sign-in helper again and tries once more. If you still see "The WP Waterfall sign-in helper is not loaded on this site", sign in with **Visit WP login** and message Nami from the chat button.

**The link opens a page that says "This sign-in link did not work".**
The link expired or was already used. Choose **Try again**, then **Log in to WP Admin** again.

**Can I turn the custom address off?**
Yes, in the settings of the plugin that set it. WP Waterfall picks up the change within the hour.

## Related

- [WordPress users and one-click login](https://docs.wpwaterfall.com/wordpress-users)
- [WordPress Multisite](https://docs.wpwaterfall.com/wordpress-multisite)
