You are currently viewing WordPress Login: Tipps & Anleitung

WordPress Login: Tips & Guide (2022)

You are a WP beginner and looking for the WordPress login? Or do you want to know how to customize and secure the WordPress login page? In my article you will find information and tips about admin access to your website.

The WordPress login page

After you have successfully installed WordPress, you naturally want to start building your website right away. But especially for beginners it is not immediately clear how the login in WordPress works.

There are several ways to access the admin area. To do this, simply add one of the following endings to your domain name.

  • /wp-login.php
  • /wp-admin
  • /admin
  • /Log in

It then looks something like this:

yourdomain.de/wp-login.php or yourdomain.de/admin

The same also applies to websites that are installed on subdomains or in subdirectories.

  • Subdomain: blog.deinedomain.de/wp-login.php
  • Directory: yourdomain.de/directory/wp-login.php

After successfully logging in, you will automatically land in the dashboard.

So that you don’t forget to access it, it’s best to bookmark it in your browser. In most browsers, this works with the keyboard shortcut CTRL+D.

Forgot WordPress login credentials?

Misplaced or forgotten your WordPress login? This is common and isn’t really a bad thing. Because you can easily reset the password.

Reset Password

To do this, first go to the WordPress login page and click on “Forgot your password?”. Then enter either your email address or your username for the website.

If you click on “New password”, the system will automatically send you an email. There you will find a link that you can use to create a new password. Now the login should work again!

Change password in database via phpMyAdmin

What if password recovery doesn’t work? And you really can’t log into WP anymore?

In this case, a new password can also be created manually in the database.

You use phpMyAdmin to access the database, which is usually accessible via your hosting dashboard.

With all-inclusive, for example, you will find the databases in the technical administration.

Caution: When working on the database, things can go wrong. Therefore, you should know exactly what you are doing and of course make a backup.

On the left side you can now see all the tables of your WordPress installation.

Edit wp_users table.

You can find the users and the encrypted passwords in the Table wp_users. Here you now select the corresponding user and click on the edit symbol. So the little pen.

Here you change the access data in the database.

Then enter your new password in the “user_pass” line.

It is important that you Function MD5 choose This will save your plaintext password in encrypted form in the database.

As soon as you confirm the change with “OK”, the data record is saved.
Now you can log in to the admin area with your new password.

Customize WordPress login page

Admittedly, the default WordPress login page doesn’t look like much. A simple login form and the WordPress logo on a decent background.

That doesn’t bother me personally, but in some cases an adjustment makes sense. For example, if you run a membership or community site.

The easiest way to do this is to use one of the many plugins. Or you use code snippets for minor customizations.

Customization via plugin

If you want to spice up the look of the login page, you can use a variety of WP plugins. LoginPress is particularly popular and easy.

With the plugin LoginPress you can easily customize the WordPress login in the backend. Once you have activated the plugin, you can change the following options:

  • logo
  • background image
  • Login form
  • form button
  • error message
  • Welcome message
  • footer

Here is a design example:

Easy design customization of the WordPress login page in the customizer.

Manual adjustment of the login screen

Prefer not to use a plugin for customization? Then you can beautify the admin login with a few lines of code.

Embed logo

For example, you can easily integrate your own logo.

To do this, add the following code to the functions.php of your child theme.

function my_login_logo() { ?>
    <style type="text/css">
        #login h1 a, .login h1 a {
            background-image: url('../wp-content/uploads/dein-logo.png');
		height:150px;
		width:150px;
		background-size: 150px 150px;
		background-repeat: no-repeat;
        	padding-bottom: 30px;
        }
    </style>
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );

Not only the correct path to the logo file is important here. You should also note the correct image dimensions.

You must enter the pixel dimensions of your logo for the values ​​height, width and background-size.

Change logo link

By default, the logo is linked to wordpress.org. But that too can be changed very easily. The following snippet links the logo to your homepage.

function my_login_logo_url() {
    return home_url();
}
add_filter( 'login_headerurl', 'my_login_logo_url' );

You can find more information about manually adjusting the admin logins in the WordPress Codex.

Secure admin login

Since WordPress is also very popular with hackers, you should protect the admin login in particular.

Hide login url

This is a popular method Hide the login URL. This means that the login can no longer be reached under the standard addresses such as /login or /wp-admin. Instead, you choose your own login URL, such as yourdomain.de/my-new-login.

The whole thing can be implemented quickly and easily with plugins such as WPS Hide Login.

The WPS Hide Login plugin works very simply. Once installed, you can find the options under > Settings > General.

Enter your own login URL here – that’s it.
Directly below you can enter a forwarding address. The users who try to access the actual WP login are sent here.

If you do not enter anything, you will be redirected to your 404 error page.

Set new login URL

However, hiding the WordPress login is not really 100% protection. This method is also called Security through obscurity. So security through ambiguity or concealment.
Because a hacker can also find the renamed login, it just takes longer.

Make a note of your new registration URL! Because if you forget them, you won’t be able to log in anymore. Then the only solution is to deactivate the plugin via FTP access.

Server-side login protection

A more sensible and effective method is to protect yourself by means of an upstream login. As a result, the WordPress login URL is no longer freely accessible. Access is secured by server-side password protection.

How you can secure the login in this way is described in detail in my guide to protecting your WordPress login.

Step-by-step tutorial for additional security of the WP login

Login Restriction

Another useful tool is Limit Login Attempts Reloaded.

As the name suggests, Limit Login Attempts Reloaded limits the number of login attempts. Because normally there are no restrictions here. This in turn makes brute force attacks easier.

With the plugin, however, the IP address is simply blocked after a specified number of login attempts. If desired, this can of course also be done in compliance with the GDPR.

If you accidentally blocked yourself, you need to disable the plugin via FTP.

Common admin login issues

There can be many reasons why the WordPress login is not working.
Here are a few tips for the most common login issues.

Where can I find the WordPress login?

To log into WordPress, add /wp-login.php or /wp-admin to the end of your domain. For example yourdomain.de/wp-login.php.

How can I reset my password?

If you forgot your WordPress password, you can reset it from the WordPress login page. Simply click on the “Forgot your password?” link.

Alternatively, you can also change the WordPress user password in the database.

The login page freezes, what should I do?

This is usually a redirect problem for which there are several possible solutions. Working through the following points usually helps:

  • Delete browser cookies (keyboard shortcut CTRL + SHIFT + DEL)
  • Disable plugins via FTP
  • Set theme to WordPress default theme via FTP
  • Checking the wpconfig.php configuration file for errors or incorrect character encoding
  • Replacing the wp-login.php file
  • Checking / replacing the .htaccess file

A plugin is blocking access – how can I still log in?

For example, if a security plugin blocks the login, you can disable it via FTP. You should then be able to log in again.

Previous post Where can I find the WordPress login?
WordPress Login Next post WordPress Login: Login to WordPress (URL)