How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (2024)

Are you trying to log in to your WordPress websitebut can’t get past the login page? If so, you might be stuck in a redirect loop.

When your WordPress login page keeps refreshing after entering your username and password, you’re likely dealing with a caching problem or a plugin error. Fortunately, this is an issue that can be solved quickly.

In this post, we’ll look at the common causes of this redirect loop and then walk you through three simple fixes to help you log back into your website. Let’s get started!

Get Content Delivered Straight to Your Inbox

Subscribe to our blog and receive great content just like this delivered straight to your inbox.

Common Causes of the Login Page Refresh and Redirect Issue in WordPress

The WordPress login redirect issue occurs when the login screen keeps refreshing and redirects you back to the same page. As a result, you’ll be locked out of your site’s admin area.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (1)

There are three possible reasons for this error:

  • Your browser might be storing outdated WordPress files and data.
  • A recently-installed WordPress themeor pluginmight be faulty or incompatible with other plugins.
  • Your WordPress site might have a corrupted .htaccessfile.

You’ll be pleased to know that there’s an easy fix for each scenario. Next, we’ll show you how to troubleshoot the WordPress login redirect error so you can get back into your site.

Skip the Stress

Avoid troubleshooting when you sign up for DreamPress. Our friendly WordPress experts are available 24/7 to help solve website problems — big or small.

Check Out Plans

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (2)

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Methods)

Now, let’s go through the three main steps to fixing the WordPress login redirect error. Before proceeding, you might want to perform a backup of your sitejust in case something goes wrong and you need to restore an earlier version.

1. Clear Your Browser Cookies and Cache

The quickest way to solve the WordPress login redirect issue is by clearing your browser cookies and cache. WordPress uses cookies to store authentication data. Sometimes your browser might retain old files, resulting in a redirect loop when you try to log in to your site.

To clear the cookies and cache in Google Chrome, click on the three-dot icon in the top-right corner of your browser. Go to More Toolsin the drop-down menu, and then choose Clear browsing data.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (3)

In the popup window that appears, set the time range to All timeand check the following options: Cookies and other site dataand Cached images and files. Finally, click on Clear data.

If you’re not a Chrome user, don’t worry. You can easily find instructions for clearing your cache and cookies in different browsers.

Once you’ve completed this process, restart your browser and try logging in to your WordPress site. If you’re still facing the same login error, head to the next step.

2. Check New Installs and Updates (Plugins and Themes)

As we mentioned earlier, the WordPress login redirect issue may be caused by a theme or plugin you’ve recently installed. Perhaps this new theme or plugin is faulty, or it is incompatible with other plugins on your site.

To determine whether the problem is caused by a theme or plugin, you can do two things:

  • Deactivate the plugins on your site
  • Revert to your site’s default theme

First, you’ll need to access your WordPress site via a Secure File Transfer Protocol (SFTP) clientor the file manager in your website’s hosting account. If you have a DreamHost account, you can log in and navigate to WordPress> Managed WordPress in the sidebar.

Then find your domain and select Manage. On the next page, click on the Manage Filesbutton in the Detailssection. This will take you to the file manager. Next, locate and open the folder labeled with your domain name.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (4)

To deactivate your plugins, open the wp-contentfolder in your site’s root directory, and then find the pluginsfolder and rename it plugins_test.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (5)

If this solves the login problem, you’ll need to determine which specific plugin is at fault. To do that, restore the folder’s original name, open it, and rename one of the plugin folders instead. You can repeat this process to deactivate one plugin at a time, testing your login page after each one to identify the culprit.

If you’re still unable to log into your WordPress site after deactivating the plugins, return to the wp-content folder and find the themesfolder. Rename the folder themes_test. Your WordPress site will automatically revert to a default theme.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (6)

If deactivating these elements solves your login problem, you can head to your WordPress dashboard and perform any necessary updates. You might also want to replace the plugin or theme causing trouble or contact the developer for assistance.

3. Restore Your Default .htaccessFile

If you’ve tried the above two methods and are still stuck in the loop, don’t worry. There’s still one last method you can try.

Another possible cause of the WordPress login redirect loop is a corrupted .htaccessfile. Located in your site’s root directory, the .htaccessfile enables WordPress to interact with your server and generate permalinks for your site.

To access this file, connect to your website through an SFTP client or the file manager in your hosting account. From there, go to your site’s root directory, locate the .htaccessfile, and delete it.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (7)

Next, try logging in to your site. If you’re successful this time, you’ll know that the problem was the .htaccessfile.

Finally, you’ll need to create a new .htaccessfile. Go to Settingsin your WordPress admin dashboard, select Permalinks, and click on the Save Changesbutton at the bottom of the page.

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (8)

Note that you don’t need to make any changes on the Permalinks Settingspage. Simply hit the blue button, and a new .htaccessfile will appear in your site’s root directory.

Additional WordPress Error Resources

Do you want to learn how to troubleshoot other WordPress errors? We’ve put together several guides to help you solve several common WordPress issues:

  • How to Troubleshoot the WordPress White Screen of Death
  • How to Fix the 500 Internal Server Error in WordPress
  • How to Fix Syntax Errors in WordPress
  • How to Fix the WordPress Not Sending Email Issue
  • How to Fix the Error Establishing Database Connection in WordPress
  • How to Fix WordPress Error 404 Not Found
  • How to Fix White Text and Missing Buttons in WordPress Visual Editor
  • How to Fix the Sidebar Below Content Error in WordPress
  • What to Do When You’re Locked Out of the WordPress Admin Area
  • How to Fix the WordPress Memory Exhausted Error

If you’re looking for more WordPress tips, check out our WordPress Tutorials. This is a collection of guides designed to help you navigate the WordPress dashboard like a pro.

Login Issue Be Gone

The WordPress login redirect loop may seem intimidating, but it is a common error. It’s generally caused by a caching issue, a faulty plugin or theme, or a corrupted .htaccess file.

There are three things you can do to get out of this redirect loop:

  1. Clear your browser cookies and cache.
  2. Check to see if the problem is caused by a newly installed theme or plugin.
  3. Delete and restore the .htaccessfile in your website’s root folder.

If you want to avoid dealing with WordPress errors in the future, consider switching to DreamPress. Our managed WordPress hosting service takes care of all technical problems for website owners, which means you get to spend less time troubleshooting and more time growing your business!

How to Fix the WordPress Login Page Refreshing and Redirecting Issue (3 Ways) (2024)
Top Articles
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6071

Rating: 4.2 / 5 (53 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.