Every change you make to a WordPress site starts at the login screen. But if you can't remember the login address, your username or your password, you are stuck outside your own website. If you need to log in to WordPress and something is in the way, this article will help you.
We are here to help you find your login URL, username and password, and fix the problems that keep people out. We tested the login, username and password steps on a fresh WordPress 7.1.5 site in WordPress Playground, which we named Rahul Vithala. We also read several login threads, old and recent, in the WordPress.org support forums.
Related Articles
- Locked Out Of WordPress Admin? Here's What To Do
- How To Fix The WordPress Login Page Refreshing Issue
- How To Fix "There Has Been A Critical Error On This Website"
Your WordPress Login URL
On most sites, the login page is at yoursite.com/wp-login.php. You can also go to yoursite.com/wp-admin/, and WordPress sends you to the login page first.
If your site uses pretty permalinks (any setting except Plain), WordPress also redirects a few short addresses. On our test site, which used "Post name" permalinks, we tried each one while logged out:
/loginopened the login page./adminand/dashboardopened the login page, set to send us to the dashboard after login.
These shortcuts come from a function in WordPress core called wp_redirect_admin_locations, and they only work when no page or post uses that slug. If WordPress is installed in a folder, add the folder name, such as yoursite.com/blog/wp-login.php.
If Your Login Page Has Moved
Some security plugins let you change the login address, so wp-login.php no longer works. Check your notes or the plugin's settings for the new address. If you can't find it, rename that plugin's folder in wp-content/plugins using your host's File Manager or FTP. The plugin then switches off, and the normal login page comes back.
Many hosting panels can also log you straight into the dashboard. Another forum member suggested this to a user who had lost their login details, and it can be a quick way back in.
How To Log In To WordPress
- First, open your login URL.
- Next, enter your username or email address. WordPress accepts either.
- Now type your password. Click the eye icon to check what you typed.
- Tick Remember Me only on your own computer.
- Click Log In. You will usually land on the dashboard.

The Remember Me box changes how long you stay logged in. According to WordPress core, ticking it keeps you logged in for 14 days by default. Without it, the login ends when you close your browser or after two days, whichever comes first.
How To Find Your WordPress Username
You may not need it at all, because the login form accepts your email address too. If that doesn't work, try these:
- Read the error message. When we typed a username that didn't exist, WordPress said it "is not registered on this site" and suggested trying the email address. When we typed a real username with the wrong password, it named the username and said only the password was wrong.
- Search your inbox. After installation, WordPress emails the admin a message called "New WordPress Site" that includes the username.
- Ask another admin. Any administrator can see every username under Users → All Users.
- Check the database. In phpMyAdmin, open the
wp_userstable and look at theuser_logincolumn. Your table prefix may be different fromwp_.


How To Reset Your WordPress Password
Use The Lost Your Password Link
Click Lost your password? under the login form, enter your username or email address, and click Get New Password. WordPress emails you a link to set a new password. Our Playground site can't send email, so we couldn't test the email itself. Our guide to resetting your password by email shows the rest.

Use Your Hosting Panel
If the email never arrives, your hosting panel may have a reset option. For example, see our guide to resetting your password with Softaculous.
Use phpMyAdmin
The official reset guide also explains how to set a new password in the database, using an MD5 hash. We tested whether this still works. First, we saved an MD5 password for our admin user in the database. We logged in with that password, and it worked. Right after login, WordPress replaced the weak MD5 hash with a stronger bcrypt hash, the format WordPress has used since version 6.8. Our phpMyAdmin reset guide shows each click.
Can't Log In? Fix These Common Problems
The Login Page Just Reloads
In one forum thread, the login form simply cleared every time, with no error, even with the right password. The forum moderator suggested trying another browser or a private window first, because a browser extension can block the login. They also named a security plugin, a security tool at the host or, less often, a caching plugin as possible causes. That thread was never resolved. See our guide to fixing a login page that keeps refreshing.
Login Failed After A Plugin Update
In a recent thread, a site owner couldn't log in after the Shield Security plugin failed to update. One forum member suggested emptying the active_plugins setting in the database, which switches off every plugin at once. A moderator instead advised renaming or deleting just that plugin's folder in wp-content/plugins by FTP, and the site owner got back in after removing it. Our critical error guide shows how renaming a plugin folder works.
Login Stopped Working After A Host Or PHP Change
In another thread, a user's host reinstalled their site after a PHP upgrade, and then the login stopped working with no error at all. The moderator asked them to try a different browser or computer and to check the browser's developer console for errors. They also mentioned a case where a host suppressed the browser's referrer information and logins failed. If nothing works in any browser, ask your host to check its security settings.
"Cookies Are Blocked"
WordPress needs cookies to keep you logged in. If it says cookies are blocked or not supported, allow cookies for your site in your browser. If it says they are blocked "due to unexpected output", something sent output before WordPress could set the cookie, such as a PHP warning, stray spaces in wp-config.php, or a plugin or theme file. The WordPress cookies documentation explains how to enable cookies in your browser.
Common Mistakes To Avoid
- Ticking Remember Me on a shared computer: the next person can open your dashboard for up to 14 days.
- Typing a plain password into the database: in phpMyAdmin, choose MD5 for the
user_passfield, or the new password won't work. - Deleting a security plugin to get in: rename its folder instead, so you can rename it back later without reinstalling it.
- Keeping "admin" as your username: attackers try it first. Our WordPress security checklist covers safer settings.
Log In To WordPress: FAQs
What is the default WordPress login URL?
It is yoursite.com/wp-login.php. On our test site, /wp-admin/, /login and /admin also led to the login page.
Can I log in with my email address?
Yes. The form asks for your "Username or Email Address", and either one works with your password.
Why does WordPress keep logging me out?
If you don't tick Remember Me, WordPress ends your login when you close the browser, or after two days at most. Tick it on your own computer to stay logged in for 14 days.
Should I change my login URL?
It can cut down on bots hitting your login page, but you can lock yourself out if you forget the new address. Our guide on changing the WordPress login URL explains both sides.
Final Words
To log in to WordPress, open /wp-login.php, enter your username or email address and your password, and click Log In. If that fails, read the error message, reset your password, or rename the plugin that's blocking you. Let us know in the comments what kept you out of your site.
Sources
We checked these sources for this guide on November 30, 2026:
- Reset your password, WordPress.org Documentation
- Cookies, WordPress Developer Resources
- WordPress 6.8 will use bcrypt for password hashing, Make WordPress Core
- canonical.php, pluggable.php, user.php and upgrade.php, WordPress on GitHub
- Admin login issue, New installation refuses login, Login on my website's dashboard no longer possible and WP login, WordPress.org Support




