You probably faced this problem at least once – your WordPress dashboard login won’t seem to cooperate. You don’t need to panic.
Login issues are very common with WordPress, and this is the reason why so many solutions exist in this sense. We have also encountered this problem at wpDataTables and resolved it by following the process presented below. There are various steps you can take to get the WordPress dashboard working again. Read this guide to find out more about them.
Table of contents
- Accessing the WordPress dashboard login made simple
- Problems that may occur
- Common login errors that you can encounter
- How can you fix these issues?
Accessing the WordPress dashboard login made simple
Normally, simply adding /wp-admin at the end of the URI of your WordPress site will get you to the WordPress dashboard login page. For instance, if your URL is www.wpdatatables.com, you simply need to browse for www.wpdatatables.com/wp-admin.
In case your website’s URL looks like this: www.wpdatatables.com/blog you can add /wp-admin after the subdirectory like this: www.wpdatatables.com/blog/wp-admin. The same goes if your website’s URL contains a subdomain. Adding the proper suffix to the URI structure should get you to the WordPress login prompt. After you reach it, insert your credentials and hit the Login button.
Problems that may occur
Many people get errors when they are trying to access the WordPress admin login page or when they try to proceed. The most common ones are presented below.
The WordPress login is disabled
If you get an error that says your WordPress login is disabled, it happens because numerous failed logins occurred on the dashboard. The error notifies you that the WordPress dashboard login has been disabled to prevent a potential attack towards your site.
Brute force attacks are in the center of attention when it comes to security, so the error is normal. Wait for a while and then increase the online security of your website. Once you do that, you can try logging in again.
The username or password you entered is incorrect
Forgetting a password is a pretty common problem that people encounter on a daily basis. There is a solution for that – resetting the password. You simply need to click on the option listed by WordPress under the login form.
Common login errors that you can encounter
The password reset option doesn’t work
There are some cases in which the password reset option doesn’t work. You have two options: reset your password by using PhpMyAdmin or reset the password by editing the functions.php file. Both are easy, effective methods.
Cookies cause the login form to crash
Getting a PHP error message
When you log in to WordPress you might get a PHP error. In order to get rid of it, disable all your plugins and deactivate the currently active theme. The WordPress dashboard login page should come back to normal shortly.
Getting a 404 error/URL redirect/page refresh
There are two solutions you can try when you receive a 404 Not Found error. You can either disable the .htaccess file and create a new one from scratch, or update your website’s URL.
How can you fix these issues?
Check your password twice
When entering your WordPress account credentials, try to check the password multiple times. In many cases, writing the password wrong or inserting a wrong password is the cause of not being able to access your WordPress dashboard. Use the function that WordPress includes on the site and reset your password via your email address.
Password reset not working
If you can’t log in to the WordPress admin page and the password reset option is not working, you need to use other methods to do it. Oftentimes, the “Lost your password?” function that WordPress provides fails to work and you don’t receive any email with a new password. This means that your account can’t be accessed, thus putting you in difficulty.
However, there is a solution for this issue which is represented by PhpMyAdmin, which can edit your database. Editing the functions.php file is also a method you should try if everything else fails.
Either way, there are methods through which you can reset your password, even though you don’t receive that email from WordPress. They are listed and explained below.
Resetting password through PhpMyAdmin
The first method is resetting the password by using PhpMyAdmin. You will edit the database of your WordPress site manually and change the password by yourself. The process is not difficult as long as your web host is connected to PhpMyAdmin.
You should back up your website before doing any of the steps listed below because you can make mistakes that can cost your website’s functionality. Here’s what you should do:
First, log in to the website’s admin panel. If you don’t have these credentials, ask your web host about them. Then, do the following:
- Scroll down until you can see PhpMyAdmin.
- Select Databases and a list of databases should show up.
- Click on the WordPress database once you find it.
- Find the users table, which is usually called wp_users.
- Click the edit button.
Once you completed the steps above, insert your new password in the input box. You should select md5 from the function dropdown list and select Go. Then, access the WordPress dashboard login page and use your new credentials. The login process should work normally now.
When the problems are caused by cookies
In order to solve issues caused by cookies with your WordPress dashboard login page, you need to understand what they are first. Cookies represent files that are stored in your computer each time you visit a website as long as you allow it.
If you don’t want to store these cookies, you can disable them. WordPress needs these cookies in order to function properly, so you may encounter problems if you disable cookies on WordPress.
Make sure that the cookies are enabled when you enter your WordPress site. Once they are enabled, start by clearing the browser’s cache data. There are two shortcuts for this: press CTRL+SHIFT+DEL in Windows and COMMAND+SHIFT+DEL in Mac.
A popup will show and cookies and cache should be selected. Click Clear and the WordPress dashboard login page should work fine.
PHP errors/blank page
If you get a PHP error or a blank page, the problem has been generated by a coding error. This coding error can occur from a plugin or from the theme you have installed. In this sense, there are two different solutions for the issue: disabling the plugins or disabling the active theme. To deactivate the theme, rename the folder where it is stored and WordPress won’t recognize it any longer.
In order to rename the folder, go ahead and use an FTP client such as FileZilla. Search for the wp-content folder, open it, search for the theme’s name and simply click rename.
Your WordPress website will simply go back to the default theme. After that, you can check if the login process works as it is supposed to. If it works, the reason behind the error is your theme and you should change it or contact the theme’s provider to fix the issue.
404 errors/URL redirects
For PHP errors, on the other hand, things are different. When you get a 404 error or if you are redirected to another page, the reason behind it is probably the .htaccess file or updating the site’s URL. These solutions are presented below.
To disable .htaccess, you need to determine if it is the cause of the error you receive first. You should apply the same method you did for the theme, which is renaming the file before disabling it. Renaming the .htaccess file is also done by using an FTP viewer. Access the website through the FTP viewer and do the following:
- Click on the public_html folder and wait for it to open.
- Look for the .htaccess file and right click it.
- Rename it to .htaccess.old
- Retry the login process and see if the WordPress dashboard login page works properly
If the error no longer persists, it means that the .htaccess file was faulty and you need to create one. Simply go to the WordPress dashboard, click Settings and then Permalinks and select save.
Updating the URL
If the .htaccess file was not faulty, you can try reset your website’s URL. The easiest way to do it is by editing the wp_config file, which can also be accessed via an FTP viewer.
Access the website and navigate to the folder that has your WordPress file. Open it and find the public_html folder. In the folder, you should find a file named wp_config.php. Right-click it and select Edit. Use FileZilla to edit the text and add the following lines of code:
Click save and let the changes apply, then retry the login process. It should work fine by now.
Ending thoughts on the WordPress dashboard login page issue
The solutions listed in this article should have resolved your WordPress dashboard login page problems. In case you know other solutions as well, share them with the rest of the users.
If you enjoyed reading this article on WordPress dashboard login, you should check out this one about how to change font color in WordPress.
We also wrote about a few related subjects like WordPress header, WordPress multisite, WordPress stuck in maintenance mode, website maintenance cost, how to password protect WordPress site, how to disable comments in WordPress and WordPress tagline.