For non-pro­fes­sion­als, it can be confusing when features differ between WordPress in­stal­la­tions. In our WordPress login how-to guide, we explain how WordPress login works and what to look out for.

Managed Hosting for WordPress
Create your site with AI, we manage the rest
  • Stress-free, no matter your skill level with easy AI tools
  • Fully cus­tomiz­able with themes and plugins
  • Hassle-free updating and less admin

What happens during the WordPress login?

With the login, the au­then­ti­ca­tion as a reg­is­tered user of the WordPress in­stal­la­tion takes place. A logged in user has access to the WordPress dashboard, the central ad­min­is­tra­tion interface, often referred to as the “WordPress backend”. Let’s take a look at what the steps are from opening a browser window to entering the WordPress dashboard:

  1. Access WP admin login address in the browser:

The user accesses a WP admin login address in the browser. We will explain how the WP admin login address is composed later in this article.

  1. Trans­mis­sion of user data on WP admin login page:

Once on the WP admin login page, the user enters the username and password in the form and sends them to the server.

  1. Redi­rec­tion to WordPress dashboard:

After au­then­ti­ca­tion is complete, the user is redi­rect­ed to the WordPress dashboard. In the process, a cookie is set that iden­ti­fies the user to the system.

Each WordPress user is assigned a user role when logging in. Depending on the role assigned, limited options are available in the dashboard for accessing content and features. For example, an author does not have the rights to install plugins. We provide an overview of the default user roles found in WordPress:

WordPress user role Access rights
Super Admin Can create sites and access all settings and content; only for multisite inΒ­stalΒ­laΒ­tion.
AdΒ­minΒ­isΒ­traΒ­tor Access to all settings and content of a site.
Editor Can edit and publish content of any user.
Author Can create and publish your own content.
ConΒ­tribΒ­uΒ­tor Can create own content, but cannot publish it.
SubΒ­scriber Can edit own user profile.
Tip

A user logged into WordPress is au­then­ti­cat­ed by cookie set in the browser used. It is therefore possible to be logged in with an incognito window, other browser, or ad­di­tion­al device at the same time as multiple users in a WordPress in­stal­la­tion. This is practical, among other things, to test a WordPress admin login for newly created user accounts.

With WordPress, as with other systems: Login is not the same as reg­is­tra­tion. This can be confusing as the terms are often used syn­ony­mous­ly:

How do I find the WP admin login page?

The WP admin login page is the gateway to the WordPress dashboard. To access the login page, you need to know the WP admin login URL. Either type it in the browser’s address bar or click on a link that contains the URL. For­tu­nate­ly, the structure of the URL follows a familiar scheme. So, the WP admin login page address can be easily de­ter­mined as long as you know the WordPress site URL.

The WordPress site URL (WP_SITEURL) is the address where a WordPress site can be found on the web. Depending on the domain and the type of WordPress in­stal­la­tion, there are several possible variants. Let’s have a look at some examples:

Subdomain Domain SubΒ­diΒ­recΒ­toΒ­ry WP_SITEURL
β€” example.com β€” http://example.com/
www. example.com β€” http://www.example.com/
www. example.com /blog/ http://www.example.com/blog/
blog. example.com β€” http://blog.example.com/
Note

We show here all URLs with the HTTP protocol; in practice nowadays HTTPS is mostly used. This does not change the basic scheme.

If the WordPress site URL is known, the web addresses of WP admin login page and WordPress dashboard can be easily de­ter­mined. In addition to the actual addresses of the two pages, there is a redirect in each case that can be used equiv­a­lent­ly. If a user is not logged in and accesses the dashboard address, there is a redirect to the WP admin login page. In all cases, the address is called up in the browser to perform the WordPress login:

WordPress admin area WP_SITEURL + Example
WP admin login page wp-login.php http://example.com/wp-login.php
Login forΒ­wardΒ­ing login http://example.com/login
WordPress dashboard wp-admin/ http://example.com/wp-admin/
Dashboard redirect admin http://example.com/admin
Tip

Managed Hosting for WordPress from IONOS helps you to get the right per­for­mance for your WordPress website.

How to simplify the WordPress login process?

WordPress site users have to log in to get into the WordPress dashboard. To do so, they need the WP admin login page address or a link to click on. Not all users are tech­ni­cal­ly savvy enough to figure out the URL them­selves. For­tu­nate­ly, there are some tricks to simplify WordPress login. We dis­tin­guish two ap­proach­es:

  1. Steps that a user can take on their own to simplify the WordPress login. These only affect the user in question.
  2. Steps that are taken by an admin to simplify the WordPress login. These affect the login for all users.

To log into WordPress more easily as a user

As a WordPress user, to simplify logging in with one’s user account, check the “Remember Me” box on the WP admin login page. This means that the au­then­ti­ca­tion cookie is stored for some time. Within this time, no further WordPress login is necessary. It should be noted that this procedure only works in the same browser and only if the login is not done in an incognito window.

A simple trick that always works is to bookmark the WP admin login page in the browser. So the browser saves the URL under the title of the page. If you want to log in to WordPress again, you simply visit the page by clicking on it. So you don’t need to remember the URL. This is es­pe­cial­ly handy when using a WP admin login URL that is different from the initial one.

Entering passwords manually is extremely im­prac­ti­cal. Instead, you can use a password manager, such as the one in­te­grat­ed in the Firefox browser. The browser remembers the com­bi­na­tion of login URL, username, and password and enters the cre­den­tials when a known login URL is visited. This approach works par­tic­u­lar­ly well in com­bi­na­tion with a bookmark stored in the browser.

Simplify the WordPress admin login

Admins can simplify the login process for users in WordPress. Mostly this is done by placing the link to the WP admin login page in the front end of the website. This way, users only need to click on the link to get to the WordPress login. Let’s take a look at a few common ap­proach­es.

With the “meta widget”, WordPress provides a pre-made block by default that can be in­te­grat­ed into the layout of the site. The meta widget contains a set of “meta” links. In other words, these are links that are not based on the actual page content, but on the layer above it. The meta widget contains the following links:

  • Link to WP admin login page
  • Logout link
  • Link to the posts feed
  • Link to comments feed
  • Link to WordPress.org

Even though the meta widget is handy and can be in­te­grat­ed quickly, it is not nec­es­sar­i­ly the best choice. If you only want to link the WP admin login page or the WordPress dashboard, it’s a good idea to place a link directly in the nav­i­ga­tion menu or in the footer. To do this, insert the cor­re­spond­ing URL as an “in­di­vid­ual link” in the re­spec­tive nav­i­ga­tion area. Users will get to the WordPress login or dashboard via the link.

Es­pe­cial­ly for larger or­ga­ni­za­tions, it’s a good idea to use single-sign-ons (SSO). SSO tech­nol­o­gy allows users to log in across multiple systems. Users log in centrally and are then logged into a number of systems. The par­tic­u­lar process depends on the specific approach.

What to do if the WordPress login fails?

If the WordPress login fails, you are locked out as a user. It is then not possible to access the dashboard and publish or manage content. Fur­ther­more, it is not possible to add users or install plugins or activate and de­ac­ti­vate them.

The public part of the WordPress site is still ac­ces­si­ble for visitors. Therefore, a temporary loss of the login function is ac­cept­able. However, it should not be a permanent condition, otherwise it will not be possible to provide the site with security updates. Let’s take a look at a few common scenarios where WordPress login could fail.

The password or username used is incorrect

Probably the most common WordPress login error is that the password or username was entered in­cor­rect­ly. In most cases, it is enough to check the username and password and correct them if necessary. It should be noted that if the wrong password is entered more than once, the user account may be blocked. It is better to wait ten to twenty minutes and then try again.

When using multiple virtual keyboard layouts, this error can quickly occur. For example, when using the English keyboard layout on a German keyboard, the letters [Y] and [Z] are reversed. Since the password is not visible while being entered, you often don’t notice this error. A quick and simple remedy to this is to write the password in a text document and copy it from there into the password field.

If a wrong password has been entered too often or the password has been lost com­plete­ly, it is necessary to reset the password. On the WP admin login page there is a link to a cor­re­spond­ing page. There you enter the email address with which you are reg­is­tered as a user with WordPress. You’re then sent an email with a temporary “reset password” link. However, this only works if WordPress and the server are con­fig­ured correctly for sending mail.

Error es­tab­lish­ing a database con­nec­tion

This infamous error message indicates a server error. The error occurs when the database is not ac­ces­si­ble. There can be several reasons for this, for example, too many access attempts are happening in at the same time. The site is then no longer ac­ces­si­ble – not even for visitors. The error may be temporary. If the error persists, it will not fix itself. Then the only thing that helps is to notify the admin to initiate rescue measures.

Error occurs Approach
Short term Reload WP admin login page: after 1, 5, 20, 60 minutes.
Long term Alert admin, initiate rescue actions
SpoΒ­radΒ­iΒ­calΒ­ly View log files to analyze errors; if necessary - optimize WordPress or make it faster,Β allocate more resources, or change hosting provider.

Renamed the WP admin login page

If accessing the WP admin login URL returns a “page not found” error, it’s likely that the WP admin login page has been renamed. This is a good idea in itself, as it allows “brute force” attacks to be stopped with little effort. However, users need to be informed about the new WP admin login URL. All bookmarks, links, and entries in password managers set before renaming must be renewed.

Usually, a WordPress security plugin is used to rename the WP admin login page. However, it may also happen that the WordPress in­stal­la­tion has been corrupted. Thus, errors in the .htaccess file can also manifest them­selves in the fact that the WP admin login page is not ac­ces­si­ble. In this case, it is advisable to reset WordPress’s .htaccess file. However, caution must be exercised when doing so. Because improper changes to the .htaccess file can have a negative impact on SEO and on top of that expose sensitive page areas.

If the WP admin login page was renamed with a security plugin and the new WP admin login URL was forgotten, you are a bit stumped an admin. Since you cannot log in, it is not possible to de­ac­ti­vate the security plugin from the dashboard. However, as long as you still have access to the WordPress server, there is a trick: deleting or moving the plugin folder sometimes works. This will de­ac­ti­vate the plugin and restore the WP admin login page under the normal address. However, you need to know the name of the plugin for this to work.

If you have SSH access to the WordPress server, it is best to use the WordPress command line interface (WP-CLI). With the help of WP-CLI you can display a list of active plugins and their names. Plugins that rename the WP admin login page often contain one of the terms “Login”, “Hide”, or “Security”. Once you have iden­ti­fied a plugin as a candidate, you can de­ac­ti­vate it via WP CLI command. Al­ter­na­tive­ly, you can tem­porar­i­ly de­ac­ti­vate all plugins. Let’s look at the in­di­vid­ual steps in detail:

  1. List active plugins:
wp plugin list --status=active
  1. List plugins and filter them by can­di­dates:
wp plugin list | grep -E --ignore-case 'login|hide|security'
  1. Disable a specific plugin:
wp plugin deactivate <plugin></plugin>
  1. Al­ter­na­tive­ly, de­ac­ti­vate all plugins:
wp plugin deactivate --all

Other WordPress login errors

In addition to the rel­a­tive­ly common errors already mentioned, there are a few other cir­cum­stances that can prevent WordPress login.

Admins usually configure the WordPress admin login to force logging in over a secure con­nec­tion (HTTPS). This is because the WordPress login sends username and password to the server, and without HTTPS, unau­tho­rized people could read the cre­den­tials. If the SSL cer­tifi­cate un­der­ly­ing the HTTPS con­nec­tion has expired, the browser will refuse to load the WP admin login page. In this case, the SSL cer­tifi­cate must be renewed or replaced.

The WordPress login au­then­ti­cates a reg­is­tered user to WordPress. In some sit­u­a­tions, ad­di­tion­al server level password pro­tec­tion is set. This is usually con­fig­ured via the .htaccess file. This is par­tic­u­lar­ly popular for hiding staging sites or sites under de­vel­op­ment from public access and search engine bots. At­tempt­ing to access the site without correct user cre­den­tials will return a “401 Au­tho­riza­tion Required” HTTP error.

Last but not least, WordPress login may fail if two-factor au­then­ti­ca­tion (2FA) is active. Then, in addition to the WordPress password, another access per­mis­sion is needed to log in. This can be, for example, a code provided on another device. Dedicated apps such as Google Au­then­ti­ca­tor, with which WordPress can be protected, as well as SMS-based solutions are available.

Tip

Starting your first WordPress website? In our special guide we show how to create WordPress sites.

Go to Main Menu