Family Encyclopedia >> Electronics

How to fix WordPress login page update and redirect issue

From time to time, we receive an email from our users saying that they were unable to login to their WordPress admin area. Login issues can be caused by a number of different errors, such as failing to establish connection to database, internal server error, or white screen of death. Another type of login error is when the login page refreshes and redirects to the login screen. In this article, we will show you how to fix WordPress login page redirect and refresh issue.

How to fix WordPress login page update and redirect issue

If you're going to try the advanced steps mentioned in this WordPress tutorial, create a backup of your site. How to manually create WordPress database backup.

How to fix WordPress login page update and redirect issue

Video Walkthrough

Subscribe to WPBeginner

If you don't like the video or need more instructions, continue reading.

Clear cookies to resolve login issues

WordPress uses cookies for login authentication, so the first step in troubleshooting WordPress login issues is the simplest. Clear your browser's cookies and cache. Also make sure your browser has cookies enabled. After doing that restart your browser and then try to login. This should fix the problem for most people.

How to fix WordPress login page update and redirect issue

Disable all plugins

Sometimes WordPress plugins can cause this issue especially if there is a conflict between two plugins. To disable all WordPress plugins, connect to your web host using an FTP client. Rename the /wp-content/plugins/ directory to plugins_backup. This will disable all WordPress plugins installed on your website. We also have a detailed tutorial on how to disable all WordPress plugins when WP-Admin cannot be accessed. Once you have disabled all plugins, try logging into your WordPress site. If it is successful, this means that one of your plugins was causing the problem.

Return to default theme

WordPress themes can also cause conflicts after upgrading to a newer version of WordPress or the theme itself. To find out if the problem is being caused by your theme, you need to disable it. The process is similar to disabling plugins. Connect to your website using an FTP client. Go to the /wp-content/themes/ directory and rename your current theme directory to anything. WordPress will search for your current theme and return to the default theme. Once you've done that, try logging in again. If it is successful, then this means that your theme was causing the problem.

If you are already using the default theme as your current theme, you can still rename it and try to login. If you are able to login successfully, this means that your default theme may have been corrupted. Download a fresh copy of the default theme from the WordPress theme repository and upload it to your website.

Delete .htaccess file

Sometimes the .htaccess file can get corrupted which can lead to internal server errors or login page refresh error. Simply access your website via FTP. Back up the .htaccess file to your computer, and then delete it from the root directory of your website. You may want to remove the .htaccess file in the wp-admin directory as well if it exists. Try to sign in again. If it is successful, then this means that your .htaccess file was preventing you from logging into WordPress. Once you're logged in, simply go to Settings »Permalinks and click Save. This will generate a new .htaccess file.

Update Site URL

In some cases, defining the site URL seems to fix the problem. To do this, you need to login to your site using FTP and edit the wp-config.php file. Just add these two lines of code to your wp-config.php file and don't forget to replace example.com with your own URL. Also if your site has www. so make sure you add that.

 define ('WP_HOME', 'http: //example.com'); define ('WP_SITEURL', 'http: //example.com'); 

Save your changes and hopefully that will fix the login page refresh issue.

We hope this article helped you resolve WordPress login page redirection and refresh issues. If you've ever run into this issue, please let us know which method worked for you by leaving a comment below. If the method you used is not mentioned in this article, please let us know. We will update the article. Let's try to make this a complete user guide to solve this problem.