Occasionally you might be getting mail from your user that they’re unable to login yo their WordPress admin area.
Login issues can be caused due to various errors such as:
Apart from these, there is another type of error wherein your login page keeps refreshing and redirecting it back to the login screen.
In this article, you’ll learn how to fix WordPress Login Page Refreshing and Redirecting Issue.
Before moving ahead make sure to backup your website to avoid loss of data.
How to fix WordPress Login Page Refreshing and Redirecting Issue
Before we go ahead with the solution, you should know that browser cookies and cache are clear and enabled. Because browser cache and cookies can also cause this issue. After clearing it, restart your browser and try to log in.
If clearing browser cookies and cache do not help, read further to know how to fix WordPress Login Page Refreshing and Redirecting Issue.
Deactivate All the Plugins
WordPress plugins can be a culprit when you face a WordPress Login Page Refreshing and Redirecting Issue. You’ll have to deactivate all your WordPress plugins. After deactivating you’ll have to connect to web hosting using an FTP client such as Filezilla and rename your /wp-content/plugins/ directory to plugins_backup. Doing this will deactivate all your plugins.
If you’re able to log in without any problem, then it means that one or more of your plugins is the culprit. Activate one plugin at a time to find the culprit plugin.
Revert to Default Theme
WordPress themes can also cause problems after upgrading to newer version of WordPress or the theme itself. To know whether the theme is causing the problem, you need to deactivate your theme. The process is similar to deactivating plugins wherein you’ll have to connect to your website via an FTP client. After connecting, go to wp-content/themes/ directory and rename your current theme directory to anything.
Once this is done, WordPress will look for your current theme and will back to the default theme. Now, try logging in again, if there’s no problem, then this means that your theme was causing the issue.
Delete the .htaccess file
Sometimes the .htaccess file can get corrupted which can result in internal server errors or login page refreshing error. To delete it, simply connect to your website through an FTP client (Filezilla). First, backup the .htaccess file in your root directory. Then delete the .htaccess file in the wp-admin directory.
Try to log in again. If you succeed, then it means that your .htaccess file was stopping you from logging into your WordPress website. Once you’ve logged in, simply go to Settings » Permalinks and click Save. This will generate a new .htaccess file.
Updating the site URL
Sometimes the site URL might be causing the issue. You’ll need to define the site URL. To do so, log in to your site via an FTP client and edit the wp-config.php file. Add a two line of code in your wp-config.php and replace the yourdomain.com with your URL. If your site as www. then make sure to add that as well.
Save the changes and then try logging in. Hopefully, the problem should’ve been solved.
We hope that you’ve fixed WordPress Login Page Refreshing and Redirecting Issue by using the above methods. If you know, any other method to fix is, feel free to share with us in the comment section.