Staying on the WordPress login page can be frustrating. Your WordPress panel is locked and you can no longer log in to your website and work with it. Login problems can be caused by various errors. In this article, we will teach you the best ways to log in to your WordPress panel.
Problem entering WordPress counter
Login problems can be due to various errors such as database connection error, internal server error, or WordPress White Page of Death Be. Another type of login error is when you are redirected to the same page again after entering your username and password. In fact, your page is refreshed and you can not log in to the WordPress panel under any circumstances.
What causes page updates and redirects in WordPress?
Incorrect WordPress URL settings and not setting login cookies are the most important reasons for redirecting the login page and updating.
Typically, when you sign in, WordPress verifies your username and password and then sets a sign-in cookie in its browser. After that, it will take you to the WordPress admin area.
If WordPress fails to set the login cookie correctly or your URL in the WordPress admin area is incorrect, you will be redirected to the login page instead of the admin dashboard.
The most common problems with not logging in to WordPress admin are:
- Problem resetting WordPress password
- Block cookies in WordPress
- Faced with a white screen or received a php error
- Get 404 error, redirect or refresh WordPress login page
Troubleshooting WordPress login panel
In this tutorial, we want to provide some solutions to solve the problem of not getting into WordPress management.
1- Clear cookies and browser cache
WordPress uses cookies for user authentication and management. Cache also helps your site load faster. So the first and easiest way to solve this problem is to clear cookies and browser cache.
Cookies and cache can cause WordPress login redirection loops. This problem occurs when your browser’s cookies and cache still hold old information or use old WordPress files.
– Chrome browser
To remove cache in Google Chrome browser, follow these steps:
Click the three-dot menu in the upper right corner of the browser. Then select History. Or you can press “Ctrl + H”.
Select the information you want to delete from the left column of the browser.
After the dialog box appears, select Cookies, other site data, and Cached images and files. Set the time range to All time. Then click Clear Data.

– Mozilla Firefox browser
Select the desired button in the “upper right corner”. Then go to Options, Privacy and then Security. In the cookies and data section of the site, select Clear data.
Check the Cookies, Site Data and Cached Web Content options. Then click Delete.
2- Disable plugins
Sometimes, installed plugins may interfere with your access to the WordPress environment. To disable WordPress plugins, log in to the admins section.
You need to change the folder named “plugins” in the address “wp-content / plugins” to another name, such as “plugins_backup”. This rename will disable all plugins installed in WordPress.
3- Activate the default shell
In many cases, templates installed in WordPress can cause problems. For example, when you upgrade your WordPress version to the latest version, there may be a glitch.
For this purpose, you can disable your WordPress template after logging in to the admins section. You can also use an FTP account to connect to hosts and access WordPress folders.
To disable the theme, you must enter the “wp-content / themes” folder and rename the theme. This will disable the site’s current active shell. Thus, WordPress activates one of the default skins.
4- Delete the .htaccess file
Another problem with logging in to the WordPress panel is the .htaccess file. This file causes errors such as “internal server errors” and “login page refreshing error”. In this case, you just have to replace the defective file with a new one. How to recover the default “.htaccess” file is as follows:
Access your website’s main folder “public_html” using “FTP” or “File Manager”. Find your “.htaccess” file and make sure you have a backup copy. Then delete it from your host.
If deleting this file solves your problem. To create a new “.htaccess” file go to settings, then unique links. Click save without making any changes to create a new “.htaccess” file for you.
5- Updating the site link
In some cases, the URL of the site may cause a problem. Log in to your hosting panel for this purpose. Then edit the “wp-config.php” file. And add the following code:
| 1 2 | <p>define(‘WP_HOME’,’https://www.targetedwebtraffic.com‘);</p> <p>define(‘WP_SITEURL’,’http://example.com’);</p> |
Enter your website address instead of “example.com”. Also, if your site starts with “www”, enter your site address as “www.example.com”.