Locked Out of Your Own Website? How to Get Access Back

The Venbit TeamUpdated November 29, 20266 min read

Locked out of WordPress?

Four ways to reset

  • 1By email
  • 2In the host panel
  • 3With WP-CLI
  • 4In the database

The short answer

First work out which login you lost: the website admin, the hosting account, the domain registrar, or the inbox that receives the reset links. On WordPress, the hosting login can get you back in without the password. On Squarespace and Wix, the only way back is the platform's account recovery form and an ID check.

Your site stays online while you sort this out. A lost login stops you editing, and visitors notice nothing. The one date to check today is the domain's renewal, because an expired domain takes the website and the email down together.

Which login did you lose?

What you cannot get intoWho can let you inHow urgent
The website admin (WordPress, Squarespace, Wix)The platform, or on WordPress whoever holds the hosting login.Low. You cannot edit, but the site stays up.
The hosting accountThe hosting company's support, once you prove you are the account holder.High. No backups, restores or server fixes until you are in.
The domain registrar accountThe registrar's support, with proof of ownership.Highest. This account can take the site and the email offline.
The email address on all the accountsWhoever administers your business email.Fix this first. Every other reset goes through it.
Four different lockouts, four different fixes

If the reset links go to a former employee's mailbox, start there. Whoever administers your business email can reset that mailbox's password or forward the address to you, and then the ordinary reset links work again.

WordPress gives you four ways back in

WordPress documents the email, WP-CLI and database methods, and the second comes from your host. They run from the least access needed to the most, so stop at the first one that works.

  1. 1

    The password reset email

    Open yoursite.com/wp-login.php, click "Lost your password?" and enter the username or the email address on the account. If nothing arrives within a few minutes, spam folder included, the site probably cannot send mail, which is also why contact form emails go missing. Stop retrying and move down the list.

  2. 2

    The Log in button in your hosting panel

    Many hosts include WP Toolkit in cPanel or Plesk. It lists each WordPress site on the account with a Log in button that signs you in as an administrator, so the WordPress password does not matter. It also means anyone with the hosting login can get into the site, whatever the WordPress user list says.

  3. 3

    WP-CLI, if you have SSH

    Run wp user list to find your user ID, then wp user update with that ID and --user_pass set to the new password. If the command line is not for you, ask your host's support whether they will run it.

  4. 4

    The database, as a last resort

    In phpMyAdmin, open the WordPress database and browse the wp_users table. Edit your own row, replace the value in user_pass with the new password typed normally, choose MD5 in the function dropdown beside it, and save.

Squarespace and Wix ask you to prove who you are

There is no server or database to get into on a hosted platform, so everything depends on the platform accepting that the account is yours.

Squarespace has an account recovery form for an owner who has lost the login email. You give an email address where they can reach you and the URLs of the sites on the account, and attach an official PDF bank statement showing the most recent Squarespace charge. To verify ownership it may also ask for a government photo ID, business documents such as articles of incorporation, or the last four digits of the card on file. Its ID checks run through Plaid, with a government ID and a selfie video.

Wix has an Account Recovery form for when you do not know the login email or cannot reach it. You answer questions about the account, then photograph your ID and take a selfie on your phone. Enter a working email address you can open, or the request never reaches their team. Wix says that once you are verified you can set a new password right away.

When your developer holds the only admin account

This is common and rarely sinister. Someone set everything up under their own logins because it was faster, and then the work ended.

  1. 01Ask once, in writing, for specific things: an administrator account in your name, the hosting login, the registrar login, and a copy of the files and database. The message is also your record if this goes further.
  2. 02Contact the host and the registrar at the same time. Ask each what proof of ownership it accepts. If you do not know which companies they are, two free lookups name your host and registrar.
  3. 03Keep paying until you hold the logins. Before you cancel anything, read what can happen when you stop paying a web developer.
  4. 04If they have stopped answering, follow the recovery order for a developer who has disappeared.

Lock it down once you are back in

  • Take a full backup first. Files and database, downloaded and stored off the server, before you change anything else.
  • Go through the user list. Remove administrators who no longer work on the site, and look hard at any name you do not recognize.
  • Move every account to an email address your business owns, such as accounts@yourdomain.com. Never leave one on an address at your old agency's domain.
  • Turn on two-factor authentication at the registrar and the host first, since those two accounts can take everything down.

If the reset email never arrived, check the domain's mail records next. The same fault can be stopping form notifications and replies to customers.

Then work through the website ownership checklist so every account ends up in your name. If you would rather hand over the recovery calls and the cleanup, we take on sites we did not build as part of website maintenance, and the accounts go in your name, not ours.

More website guides

Every question in this series, from Fix website problems.

Symptoms & emergencies17
What happens if...11
Plans & hiring1
Ownership & switching11
Platform-specific3
Seattle & local1

The Venbit Team

Web design & SEO, Mill Creek, WA

Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.

Questions & Answers

  • The Lost your password form accepts the email address on the account in place of the username. If you do not know that either, the user_login column of the wp_users table in phpMyAdmin lists every username, and so does the WP-CLI command wp user list.

  • Yes, WordPress documents it. Download the active theme's functions.php, add wp_set_password( 'new-password', 1 ); straight after the opening <?php line, and upload it. The 1 is the user ID, usually the first admin. Log in, then remove the line, because it resets the password on every page load until you do.

Keep reading

Let’s grow your business

Tell us about your business. We would love to hear from you. Or call us at (425) 314-1415.

Join the local businesses that grow with us

  • Pawn Fathers
  • Protectee
  • Pinnacle Energy Services
  • See Clearwater Beach
  • Q Blinds
  • Domaine des Florines
  • Track & Field AI
  • Edgewater Commercial Park
  • Colour Play Salon
  • Houston Hurricane & Security