WordPress Login fails [Resolved]
Table of Contens
Are you trying to log into WordPress backend login, but WordPress login fails? There could be many reasons why your login page stopped loading. We will look at them together in this article.
#1 Your login credentials are incorrect
Before we investigate the other reasons deeply, you need to make sure, that your login credentials are not incorrect. First of all, try resetting your password. If you don’t see the login form at all, then skip to the next point.
If password resetting function works, you should receive an email that allows you to reset your password and log in.
Reset WordPress password manually
If the password reset feature doesn’t work, don’t worry. You can also manually reset your password in your hosting account, it just takes a few extra steps. Follow the instructions below to change your WordPress password manually in the WordPress database:
Change WordPress password in the database
#2 Clear cache and cookies
If the problem is not the incorrect login credentials, we still have to make sure that it’s not a temporary cache error. It can be, that the outdated data stored in the cache of your browser has not been emptied yet. This data is stored in the browser and usually it is not a sensitive data. The image below shows how to clear the browser cache in Google Chrome. If you use another browser, you can search the settings on Google: clear browser cache
#3 Disable WordPress plugins
wp-content/plugins
directory. If you know which plugin is responsible for security, rename this directory. If you’re not sure which plugin causes the problem, simply rename the “plugins” directory.#4 Check WordPress Site URL
wp-config.php
file. To edit the file, you need your hosting or FTP access. Ask your hosting provider if you do not know this credentials. Navigate to the WordPress installation directory. Open the wp-config.php
file and add the following lines:
define('WP_HOME','http://YOUR_WEBSITE_NAME'); //e.g. https://azizozbek.ch define('WP_SITEURL','YOUR_WEBSITE_NAME');
#5 Check PHP Interpreter
#6 .htaccess file is corrupt
ERR_TOO_MANY_REDIRECTS
when trying to access your dashboard in Chrome. Or it could present itself as another problem. The easiest way is to rename the .htaccess file. Navigate to the WordPress installation directory and rename the file.If you can log in after deleting the .htaccess file, go to Settings > Permalinks and click Save. This will force WordPress to generate a new .htaccess file. You don’t need to change the settings, just click the Save button.
#7 File permissions are incorrect
wp-login.php
file and the wp-admin
folder, you may not be able to access the WordPress dashboard.#8 Enable debugging on WordPress
Are you getting a blank page or weird error messages on the login form? If you have a bit of programming knowledge, you can enable WordPress debugging mode. When debugging mode is enabled, errors are displayed with detailed information on the page. To enable debugging mode in WordPress, you can add the following lines towp-config.php
:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true );
#9 Contact a hosting provider or a WordPress expert
If you still cannot access the login form, contact your hosting provider. This way you can at least find out whether the error is caused by a technical error. If the hosting provider can’t help you because of broken code, contact a WordPress expert. You can me hire for it. Contact me using the form belowLooking for a WordPress Developer?
I'm a Fullstack PHP Developer a Hosting Company in Zürich/Switzerland. I love WordPress! For personal and business purposes i use WordPress.
If you have any Problem with your WordPress Website or you want to create one do not hesitate to contact me!
Recent Comments
Recent Posts
- Fatal error: Allowed memory size of bytes exhaustedJanuary 9, 2024If you are facing the Error “Fatal error: […]
- Install FOSSBilling with DDEV (Docker + Apple Silicon)November 14, 2023I love Virtualisation. It is the perfect way to work […]
- WordPress Custom Product Loop (woocommerce_product_query)September 19, 2023If you want to loop the woocommerce products with your […]
- WordPress get Tag Cloud by ShortcodeSeptember 13, 2023I was creating a WordPress Website and i needed use […]
- WordPress Non-zero exit status returned by script [Solution]December 7, 2022You are either installing a new WordPress Website or […]
Comments
Leave a Comment