The standard login URL for the WordPress admin area is your-site.com/wp-admin or your-site.com/wp-login.php. To log in, open this link in your browser, enter your administrator username and password, and click "Log In". If the URL has been changed or you forgot your password, use the recovery form on the same page or reset your credentials via your hosting control panel and database (phpMyAdmin).
This article helps WordPress site owners, content managers, and beginner developers solve the task of accessing the control panel, recovering access, and protecting the admin area from hacking. We will cover standard authorization methods, algorithms for finding a hidden admin URL, emergency password reset methods, and diagnosing common errors. The material is based on official WordPress.org documentation and proven hosting provider methodologies.
- Standard ways to log in to the WordPress control panel
- What to do if the admin URL was changed or you don't know it
- Recovering access: forgot administrator password or username
- Diagnosing and solving common login errors
- How to protect WordPress admin login from hacking
- FAQ: Common questions about logging into WordPress
- Summary: what to do next
Standard ways to log in to the WordPress control panel
If you have just installed the CMS or are getting access to an already running project, the first thing you need to do is get into the control console. Simply put, you need to authorize in the admin panel. Let's figure out how to properly log in to the WordPress admin area from a computer or phone, and what the difference is between the standard URLs.
Classic login via URL (wp-admin and wp-login.php)
In WordPress, there are two standard URLs for logging in. Both work, but they have a different technical nature:
- your-site.ru/wp-login.php — this is the physical file responsible for displaying the authorization form itself.
- your-site.ru/wp-admin/ — this is the directory of the control panel itself. If you do not have an active session (you are not logged in), this URL will automatically perform a 302 redirect to wp-login.php. If the session is active, you will go straight to the console.
Important to understand: for basic authorization, you can use either of these URLs. The loading time of the standard wp-login.php page averages 0.3–0.5 seconds in the absence of heavy security plugins.
Features of logging in from a mobile device
You can log in to the WordPress admin area from a smartphone in two main ways: through the official mobile app or via a browser. The choice depends on the tasks you plan to perform.
1. Logging in via the official WordPress app (recommended method for content work). The official WordPress app (available for iOS and Android) fully supports connecting self-hosted sites directly.
To set up secure login via the app:
- Log in to the site's admin panel from your computer.
- Go to Users → Profile.
- Scroll down to the "Application Passwords" section.
- Enter a name for the new password (e.g., "Mobile App") and click "Add New Application Password".
- Copy the generated password (it will only be displayed once) and enter it in the WordPress mobile app along with your site URL and username.
This is a modern and secure method, ideal for writing articles, moderating comments, and basic site management on the go.
2. Logging in via a mobile browser (for deep settings). If you need to change theme configurations, work with a file manager, or use specific plugin functions not available in the mobile app, use a browser.
To avoid interface scaling errors, "blind" zones, and mobile cache issues, we recommend:
- Activating "Desktop site" mode in your smartphone browser settings.
- Using built-in password managers (e.g., iCloud Keychain or Google Password Manager) to avoid typing complex combinations manually and prevent typos.
Login via a widget on the site itself
If you are the site owner and want to add a quick access button for yourself or editors, this can be done using standard CMS tools.
- Go to the WordPress console in the Appearance → Menus section.
- Add a Custom Link.
- In the URL field, enter /wp-login.php, and in the "Link Text" field, write, for example, "Login".
- Save the menu and place it in the desired area of the site (e.g., in the header or footer).
This is convenient if you frequently edit materials from different devices and do not want to type the admin URL manually every time.
What to do if the admin URL was changed or you don't know it
The situation where you enter the familiar your-site.com/wp-admin and get a dry 404 error (Page Not Found) is familiar to many. Do not panic or assume the site has been hacked. In 99% of cases, this is the result of security plugins that intentionally hide the standard path to the control panel to make life harder for attackers guessing passwords.
Let's break down step-by-step how to find the WordPress login URL if it has been changed, from the simplest methods to guaranteed ones.
Checking via the hosting control panel
Before diving into technical depths, check the most obvious places. Many hosting providers offer convenient tools for CMS management.
- Installation email. If the site was recently installed via the hosting auto-installer, check your email. The email with access data often contains a unique, generated link to log in to the admin area.
- Hosting account. Log in to your hosting account control panel. Find the "Sites" or "CMS Management" section. Almost all modern hosting providers have a "Log in to WordPress" or "Log in to admin" button. When clicked, the hosting uses an internal secure token for automatic authorization, bypassing the password entry page.
This is the fastest way to get into the WordPress admin area via hosting, requiring no technical knowledge.
Why searching for the URL in the database (phpMyAdmin) often doesn't work
On the internet, you can find advice to go to phpMyAdmin, open the wp_options table, and search for the new URL there. It is important to understand: this method is outdated and unreliable.
Modern plugins for changing the login URL (such as the popular WPS Hide Login) do not create new physical files and do not always write the new URL as a simple text string in wp_options. Instead, they intercept requests at the WordPress core level using the init hook. If the standard URL does not match the one set in the plugin settings, the system simply returns a 404 error without even accessing the options table. Moreover, settings are often stored as serialized PHP arrays, which are difficult to read and edit manually without risking data structure corruption.
Universal solution: temporarily disabling plugins via FTP
If the hosting button didn't work and you can't remember the URL, there is one guaranteed way to regain access to the standard wp-login.php page. This is a method we at IWS.BY use as an "emergency key" in client projects. It involves temporarily deactivating all plugins.
Step-by-step instructions:
- Connect to the site files. Use an FTP client (e.g., FileZilla) or the built-in "File Manager" in the hosting control panel.
- Go to the plugins directory. Open the wp-content folder, and inside it, find the folder named plugins.
- Rename the folder. Change the name of the plugins folder to anything else, for example, plugins_old or plugins_deactivated. What happens: WordPress will stop seeing this folder and forcibly deactivate all plugins, including the one hiding the login URL.
- Try to log in. Open the standard URL in your browser: your-site.com/wp-login.php. The login form should display correctly.
- Revert everything back. After successfully logging into the admin area, go back to the file manager and rename the plugins_old folder back to plugins.
- Activate plugins one by one. Go to the "Plugins" section in the WordPress console and enable them one by one. This way, you will not only restore site functionality but also find out exactly which plugin was responsible for changing the URL, so you can remember or change its settings.
Action algorithm "If wp-admin does not open"

The flowchart gives the user a clear, non-linear path to solving the problem without panic.
We have figured out how to find the lost door to the admin area. But what to do if the door is in place, you see it, but the key (your password) categorically does not fit or you forgot your username? We will talk about this in the next section.
Recovering access: forgot administrator password or username
The situation where you remember the site is yours, but the system stubbornly refuses your credentials, is familiar even to experienced developers. Do not rush to reinstall the CMS. Let's break down step-by-step how to reset a WordPress administrator password, from the simplest standard methods to guaranteed technical solutions.
Standard recovery via email
The most obvious way is to use the "Lost your password?" link on the wp-login.php page. You enter your username or email, and the system sends you a reset link.
Why this might not work: in practice, this method often fails because the hosting does not have a correctly configured SMTP server (email sending protocol) by default. As a result, emails are either not sent at all or end up in the "Spam" folder of your mailbox.
What to do:
- Carefully check the "Spam" and "Promotions" folders in your email client.
- If the email is not there, do not try to click the "Send" button dozens of times — this may lead to a temporary block of your IP address by the hosting's security mechanisms. Move on to the more reliable methods below.
Password reset via database (phpMyAdmin)
If email doesn't work, the most universal method is direct database editing. This method always works because we are changing data at the system core level.
Important: before any database editing (phpMyAdmin), be sure to create a full backup of the site via the hosting control panel. An error in an SQL query or accidental deletion of a table can lead to a complete loss of access to the site and its content.
Step-by-step instructions:
- Open phpMyAdmin. Go to your hosting control panel and find the "Databases" → "phpMyAdmin" section.
- Select the database. In the left column, click on the name of the database linked to your site (usually its name contains the project name).
- Find the users table. In the list of tables, find wp_users. Note: the wp_ prefix might have been changed during installation for security reasons (e.g., wp5a_users). Look for a table ending in _users.
- Open user editing. Find the row with your administrator username (most often this is the user with ID = 1). Click the "Edit" button to the left of this row.
- Change the password field.
- In the user_pass row, in the "Value" column, delete the old set of characters and enter your new password.
- Critical step: in the "Function" dropdown list for this same row, select MD5.
- Save changes. Scroll down the page and click the "Go" or "OK" button.
Why MD5? According to the official WordPress.org documentation, the system core recognizes the MD5 hash upon login. As soon as you successfully authorize with such a password, WordPress will automatically re-encrypt it into a more modern and secure phpass hashing algorithm. You do not need to generate complex hashes manually — the system will do it for you on the first login.
Using WP-CLI (for advanced users)
If you have SSH (command line) access to the server and WP-CLI (command line interface for WordPress) is installed, this is the fastest and safest way to reset. It eliminates the risk of accidentally damaging the database structure via a graphical interface.
The command to reset the password looks like this:
wp user update --user_pass=
Example: if your username is admin, and the new password is SuperSecret2026!, the command will be:
wp user update admin --user_pass="SuperSecret2026!"
Note: keep the password in quotes if it contains special characters. WP-CLI will automatically handle the correct hashing; you do not need to select encryption functions manually.
We have figured out how to regain access to the account, even if all standard methods have failed. However, sometimes the problem lies not in the password, but in the fact that the login page itself behaves inadequately: it gives strange error codes, reloads endlessly, or shows a white screen.
Diagnosing and solving common login errors
You enter the correct data, but instead of the control console, you see a dry page with an error code, endless loading, or a white screen? Do not jump to conclusions about hacking or a critical core failure. In practice, this problem usually arises for several reasons, and in 90% of cases, it is not WordPress itself, but a cache conflict, server settings, .htaccess files, or aggressive rules of security plugins.
Quick checks before deep analysis
Before diving into site files or the database, rule out trivial but frequent reasons why WordPress won't let you into the admin area:
- Incognito mode. Open a private browser window (Ctrl+Shift+N in Chrome or Ctrl+Shift+P in Firefox). If login is successful, the problem is 100% in the cache or cookies of your main browser.
- Layout and Caps Lock. Make sure the Russian layout is not enabled and the Caps Lock key is not active. Password managers sometimes insert hidden spaces at the beginning or end of the string.
- Disable VPN and proxy. Some hosting security systems (WAF) automatically block IP addresses belonging to known VPN services, considering them suspicious.
- Clear browser cache. Completely delete cookies and cached images for your domain in your browser settings.
If these simple steps did not help, and the WordPress login page does not load correctly, we move to the diagnostic table.
| Symptom (error) | Probable cause | Solution (action) | Complexity |
|---|---|---|---|
| Error 403 Forbidden Access denied |
Corrupted .htaccess file or blocking by the hosting WAF. | 1. Via FTP, rename .htaccess to .htaccess.bak. 2. Try to log in. 3. If successful, go to Settings → Permalinks and click "Save" to generate a new file. |
Medium |
| Endless redirect ERR_TOO_MANY_REDIRECTS |
HTTP/HTTPS protocol conflict (e.g., Flexible SSL in Cloudflare) or URL mismatch in the database. | Add to the beginning of the wp-config.php file (before the line "That's all, stop editing"): define('WP_HOME', 'https://your-site.com'); define('WP_SITEURL', 'https://your-site.com'); |
Low |
| "Too many login attempts" Blocked for 15–60 minutes |
A security plugin triggered (e.g., Limit Login Attempts) or a fail2ban rule at the server level. | 1. Wait the specified time without refreshing the page. 2. If access is needed urgently: rename the plugin folder via FTP or unblock your IP in the hosting panel. |
Low |
| White screen (WSOD) Page does not load, no error code |
Critical PHP error (out of memory) or fatal conflict in active theme files. | Via FTP, go to wp-content/themes and rename the folder of your current theme (e.g., add _old). WordPress will automatically switch to the default theme (Twenty Twenty-Four), and login will be restored. | High |
Important nuance: if you encounter the "White Screen of Death" (WSOD), be sure to enable debug mode after a successful login. To do this, in the wp-config.php file, find the line define('WP_DEBUG', false); and replace it with define('WP_DEBUG', true);. This will force the system to show the error text instead of a white screen, giving an exact clue as to which plugin or line of code is causing the failure. After fixing the problem, do not forget to return the value to false.
We have figured out how to restore functionality to the login page, even if the system resists. However, simply gaining access is only half the battle. Considering that, according to the 2026 Wordfence Threat Intelligence report, over 16 billion brute force attacks are recorded monthly on WordPress-powered sites, it is critically important to immediately secure this entry point.
How to protect WordPress admin login from hacking
Successful console login is only half the task. The second, no less important part, is to ensure that no outsider can get into this console. And this is not paranoia, but a harsh reality.
According to the quarterly Wordfence Threat Intelligence report, the Wordfence network blocks around 16–18 billion brute force attacks per quarter. On a daily basis, this averages more than 170–200 million unauthorized login attempts per day on projects protected by their plugin alone. Simply put, automated bots will start "probing" your site within the first few minutes of it appearing on the network.
Therefore, protecting the WordPress admin login is not an "advanced" option, but basic hygiene that any project should start with. Let's break down step-by-step three key levels of protection that we recommend implementing in typical client projects.
Changing the standard login URL
The first thing any bot scanner does is request the /wp-admin and /wp-login.php URLs. If these URLs return a login form, the bot starts guessing passwords. If these paths return a 404 error, most primitive bots simply move on without wasting server resources.
How this works in practice. Plugins like WPS Hide Login do not create new physical files on the server. They intercept requests at the init hook level in the WordPress core. If the URL does not match the one set in the settings, the system returns a 404 even before it starts checking the username and password. This not only protects against brute force but also reduces server load — the authorization form simply does not render for bots.
Step-by-step setup:
- Install the WPS Hide Login plugin from the official WordPress.org repository.
- Go to the Settings → General section.
- In the "Login URL" field, specify a unique value, for example, moysait-vhod-2026 or any other non-obvious set of characters.
- Save changes. Important: write down the new URL in a safe place (password manager), otherwise you will lock yourself out.
In our experience, a typical mistake at this stage is forgetting the new URL immediately after setup. We recommend storing it in the same password manager where your admin username and password are kept.
Implementing Two-Factor Authentication (2FA)
In 2026, two-factor authentication for the WordPress admin area has moved from "desirable" to "mandatory". Even if an attacker somehow gets your password (via phishing, a leak from another service, or a keylogger), without the second factor, they will not be able to log into the system.
Today, there are two main standard methods:
- TOTP (Time-based One-Time Password) — the classic and most common option. It requires linking to a mobile app (Google Authenticator, Authy, 1Password). Every 30 seconds, the app generates a new 6-digit code that must be entered upon login.
- Passkeys — a modern passwordless method using device biometrics (Face ID, Touch ID, Windows Hello) or hardware security keys (YubiKey). It is important to understand: the WordPress core currently does not have built-in native support for Passkeys. To implement this function, you need to use proven third-party security plugins that integrate the WebAuthn standard.
Which plugins to use for 2FA setup:
| Plugin | TOTP Support | Passkeys Support | Features |
|---|---|---|---|
| Wordfence Security | + | + | Comprehensive solution: 2FA + Web Application Firewall (WAF) + vulnerability scanner. |
| WP 2FA | + | + | Highly specialized plugin with flexible mandatory setup policies for all user roles. |
| Two Factor (official from WordPress.org) | + | - | Minimalist, lightweight plugin from members of the WordPress core development team. |
Step-by-step 2FA setup via Wordfence:
- Install and activate the Wordfence Security plugin from the official repository.
- Go to the Wordfence → Login Security → Two-Factor Authentication section.
- Select the "Authenticator app" method (for TOTP) or "Passkeys" (if your device and browser support this technology).
- Scan the QR code with your mobile app or follow the browser instructions to register the biometric key.
- Enter the verification code from the app to confirm the link.
- Click "Activate".
In client projects, we see that after implementing 2FA, the number of successful incidents involving compromised administrator accounts drops to practically zero. This is the most effective protection method with minimal effort.
Limiting login attempts and server-level protection
Even with 2FA and a hidden URL, it is worth building another line of defense — limiting the number of password entry attempts. This will protect against situations where an attacker has learned your username and is trying to guess the password.
The Limit Login Attempts Reloaded plugin works on a simple principle: after 3–5 failed login attempts from a single IP address, it blocks access for 15–60 minutes. The setup is elementary:
- Install the plugin from the WordPress.org repository.
- Go to Settings → Limit Login Attempts.
- Set "Maximum login attempts" to 5.
- Set "Lockout duration" to 30 minutes.
- Save changes.
HTTP authorization via .htpasswd is an additional level of protection for those who want to password-protect the login form itself at the server level. In this case, another standard browser window requesting a username and password will appear before the WordPress form. This is an excessive measure for most projects, but it is excellent for e-commerce admin areas or corporate portals where the cost of an error is extremely high.
Setup is done via the hosting control panel (the "Directory Privacy" or "Password Protect" section) or manually by creating an .htpasswd file and rules in .htaccess. We do not recommend doing this manually without understanding how Apache/Nginx works — an error in the .htaccess file will lead to a 500 error on the entire site.
- Administrator password is longer than 12 characters, contains letters, numbers, and special characters
- Two-factor authentication (2FA) is enabled for all accounts with the "Administrator" role
- Standard login URL has been changed (/wp-admin and /wp-login.php are hidden)
- A login attempt limiting plugin is installed (e.g., Limit Login Attempts Reloaded)
- Automated site backups are configured at least once a day
Summary on protection: we have covered three levels that together block 95% of typical attacks on WordPress logins. A hidden URL blocks scanner bots, 2FA protects against password compromise, and limiting login attempts prevents brute-forcing. Implementing all three levels takes no more than 30 minutes but multiplies the project's resilience.
Now that we have covered login, recovery, and protection, there are a few narrow but frequent questions that regularly arise among users to close out.
FAQ: Common questions about logging into WordPress
Even after a detailed breakdown of the main scenarios, users still have narrow but important questions. We have collected the three most frequent ones that regularly arise in WordPress site support practice.
wp-login.php is the physical PHP file that directly displays the username and password entry form.
/wp-admin/ is the directory of the control panel itself (administrator console).
Simply put, if you are not logged in, navigating to /wp-admin/ will automatically perform a 302 redirect to wp-login.php so you can enter your credentials.
If the session is already active (you logged in earlier and cookies have not expired), /wp-admin/ will open the console immediately without re-authorization.
Yes, the standard WordPress form officially supports authentication by both username (user_login) and the email address linked to the account (user_email).
This feature has been built into the CMS core since version 4.5 and does not require installing additional plugins.
In the "Username or Email Address" field on the wp-login.php page, you can enter either of these identifiers — the system will determine exactly what you entered and find the corresponding account in the database.
This is a classic symptom of a browser cookie issue.
WordPress uses the wordpress_logged_in_* cookie to maintain the session, and if the browser blocks its writing (due to privacy settings, extensions like Privacy Badger, or SameSite policy), the system cannot save the fact of successful authorization.
Other common causes: a conflict with a caching plugin (e.g., WP Super Cache or W3 Total Cache) serving a cached version of the login page, or blocking by a security plugin due to an incorrectly identified IP address.
The first thing to do is open the login page in incognito mode. If login is successful, the problem is definitely in the cookies or cache of your main browser.
Summary: what to do next
We have covered the full cycle of working with WordPress admin login — from basic authorization to emergency recovery and proactive protection. Let's summarize the key takeaways so you have a clear action algorithm for any situation.
Key takeaways:
- Standard login URLs are your-site.com/wp-login.php (authorization form) and your-site.com/wp-admin/ (console directory with automatic redirect). Both work for logging in; the difference is only in their technical nature.
- If the URL was changed — do not panic. First, check your hosting account (the "Log in to CMS" button) or the installation email. If that didn't help, rename the wp-content/plugins folder via FTP — this will guaranteed restore access to the standard login page.
- If you forgot the password — use the reset via phpMyAdmin with the mandatory selection of the MD5 function for the user_pass field. WordPress will automatically re-encrypt the password into a more secure algorithm upon the first successful login. An alternative for advanced users is the WP-CLI command wp user update.
- Login errors in 90% of cases are not related to WordPress itself, but to browser cache, .htaccess files, SSL settings, or aggressive rules of security plugins. Start diagnostics with incognito mode — this will eliminate half the problems in 10 seconds.
- Admin protection is mandatory in 2026. According to Wordfence Threat Intelligence, over 16 billion brute force password attacks are recorded monthly. The minimum set of measures: changing the standard URL, two-factor authentication (2FA), and limiting login attempts.
What to do next — depending on your situation:
- You just installed WordPress and want to start working: use the standard /wp-admin URL, immediately set up 2FA via the Wordfence plugin, and change the login URL via WPS Hide Login. This will take 15 minutes but will block 95% of typical attack vectors.
- You lost access to an existing site: start by checking your hosting account. If there is no quick login button, use the FTP method with renaming the plugins folder, then reset the password via phpMyAdmin. After regaining access, be sure to set up backups and 2FA.
- You are encountering recurring login errors: enable debug mode (WP_DEBUG in wp-config.php), check hosting logs for WAF blocks, and ensure that the URL settings in the database (siteurl and home) match the actual site address.
Important to understand: logging into the WordPress admin area is not a one-time action, but a process that requires regular attention. Backups, up-to-date passwords, two-factor authentication, and timely updates are basic hygiene that saves you from 99% of access problems.
If you have any questions or need help with the security setup of a specific project, contact IWS.BY — we will analyze your situation and find the optimal solution.