How to Fix WordPress Login Page Refreshing and Redirecting Issue

WordPress Login Page Refreshing and Redirecting Issue

The WordPress login page refreshing and redirecting issue can be frustrating for website owners and administrators. This problem can occur for various reasons, such as caching, plugin conflicts, incorrect WordPress addresses/ site URLs, or corrupt cookies.

This article will discuss some easy methods to fix the WordPress login page refreshing and redirecting issue.

These steps include clearing browser cookies and cache, checking your site URL, deactivating all plugins, editing the wp-config.php file, and checking your .htaccess file.

5 Causes of WordPress Login Page Refreshing and Redirecting Issue

1. Incorrect Site URLs

Incorrect site URLs in WordPress General Settings can cause the login page to refresh and redirect continuously. To fix this, users should check their WordPress address (URL) and Site address (URL) settings and make sure they are correct.

2. Cache Issues

Server-side caching or browser caching can cause login issues. To fix this, users can temporarily clear browser cache and cookies or disable server-side caching.

3. Plugin Conflicts

A conflict between two or more plugins can cause login issues. To fix this, users can deactivate and reactivate all plugins individually, checking for conflicts with each plugin.

4. Corrupt Cookies

Corrupt cookies can cause login issues. To fix this, users can clear browser cookies or try logging in using a different browser or device.

5. .htaccess File Issues

A corrupt or misconfigured .htaccess file can cause login issues. To fix this, users can rename or delete the .htaccess file and generate a new one by saving permalink settings.

How to Fix WordPress Login Page Refreshing and Redirecting Issue

  1. Clear Browser Cookies and Cache
  2. Check Site URLs and Home Settings
  3. Deactivate all Plugins
  4. Check your htaccess file
  5. Update WordPress
  6. Increase PHP Memory Limit
  7. Hire a Skilled WordPress Developer

Method 1: Clear Browser Cookies and Cache

Clearing your browser’s cookies and cache could be the quick fix to resolve the issue.

Here’s how to do it for some popular browsers:

Google Chrome

  1. Click the three dots in the top-right corner of the browser window.
  2. Select “Settings“.
  3. Scroll down and click “Advanced”.
  4. Under “Privacy and security,” click “Clear browsing data”.
  5. Select “Cookies and other site data” and “Cached images and files”.
  6. Click “Clear data”.

Clear Browsing Cache to fix WordPress Login Page Refreshing And Redirecting Issue

Mozilla Firefox

  1. Click the three lines in the top-right corner of the browser window.
  2. Select “Options”.
  3. In the left sidebar, select “Privacy & Security”.
  4. Scroll down to the “Cookies and Site Data” section.
  5. Click “Clear Data”.
  6. Check “Cookies and Site Data” and “Cached Web Content”.
  7. Click “Clear”
Clear Browsing Cache using Firefox

Once the cache and cookies are cleared, users can try logging in again to see if the issue is resolved.

Method 2: Check Site URLs And Home Settings

Incorrect site URLs in WordPress General Settings can cause the login page to refresh and redirect continuously. WordPress uses the site URL and home URL settings to create links to all the pages, posts, media files, and other content on the site.

If these URLs are incorrect, WordPress will redirect users to the wrong page or the login page, causing login issues. Users should check their WordPress address (URL) and Site address (URL) settings and make sure they are correct.

Here are the step-by-step instructions to fix the incorrect site URLs in WordPress General Settings:

  1. Login to the WordPress Dashboard using your admin credentials.
  2. Click on the “Settings” option from the left-hand menu.
  3. Click on the “General” option to open the General Settings page.
  4. Verify the “WordPress Address (URL)” and “Site Address (URL)” settings. These two fields should have the correct URL of your website.
check site urls to fix WordPress Login Page Refreshing And Redirecting Issue
  1. If the URLs are incorrect, update them with the correct URL of your website.
  2. Once you have updated the URLs, scroll down to the bottom of the page and click the “Save Changes” button.
  3. Log out of the WordPress Dashboard.
  4. Open a new browser window and type in the correct URL of your website.
  5. Try to log in again with your admin credentials.
  6. If the log-in issue persists, move on to the next step to troubleshoot the problem.

Method 3: Deactivate All Plugins

Sometimes, a conflict between two or more plugins can cause login issues. Deactivating plugins and checking for conflicts is a good way to troubleshoot this issue. To do this, users should follow these steps:

  1. Go to the Plugins menu in your WordPress dashboard.
  2. Select all plugins by clicking the checkbox at the top of the list.
  3. In the Bulk Actions dropdown menu, select “Deactivate” and click the “Apply” button.
  4. This will deactivate all of your plugins at once.
deactivate all plugins to fix WordPress Login Page Refreshing And Redirecting Issue

You can use FTP (File Transfer Protocol) as an alternative. Follow these steps to deactivate your plugins using FTP:

  1. Connect to your website’s server using an FTP client like FileZilla.
  2. Navigate to the “wp-content” folder and the “plugins” folder.
  3. Find the folder for the plugin that you want to deactivate.
  4. Rename the plugin folder by adding “-deactivated” to the end of the folder name (e.g., “my-plugin-deactivated“).
deactivated all plugin

Method 4: Check your .Htaccess File

The .htaccess file controls access to your WordPress site. You can try renaming your htaccess file to see if that fixes the problem. To do this, connect to your site using an FTP client and rename the htaccess file to something like htaccess_old.

Rename .htaccess File to fix WordPress Login Page Refreshing And Redirecting Issue

Method 5: Update WordPress

Updating WordPress to the latest version can help resolve many login issues, including refreshing and redirecting. Outdated WordPress installations can have bugs or security vulnerabilities that prevent users from logging in or causing other issues. Here are the steps to update WordPress to the latest version:

  1. Log in to your WordPress dashboard.
  2. Click on the “Dashboard” tab in the menu on the left-hand side of the screen.
  3. Click on “Updates” in the sub-menu that appears.
update WordPress to fix WordPress Login Page Refreshing And Redirecting Issue
  1. If a new version of WordPress is available, you will see a message that says, “An updated version of WordPress is available.” Click on the “Update Now” button.
  2. WordPress will begin the update process. This may take a few minutes, depending on the update’s size.
  3. Once the update is complete, you will see a message that says, “WordPress has been updated successfully.”

Before updating WordPress, you must back up your website to avoid losing data. Additionally, some updates may cause compatibility issues with specific plugins or themes, so checking for compatibility before updating is recommended.

Method 6: Increase PHP Memory Limit

Sometimes, the login page redirecting and refreshing can be caused by low memory limit settings on your website. This can prevent WordPress from processing login requests, leading to login issues. Increasing the memory limit can help resolve this issue.

Here are the steps to increase the memory limit:

First, log into your cPanel dashboard, then click File Manager.

Cpanel File Manager

After that, locate the wp-config.php file.

WP Config file

Open the wp-config.php file and Add the following line of code to the file anywhere before the line that says /* That's all, stop editing! Happy blogging. */:

define('WP_MEMORY_LIMIT', '256M');
increase php memory limit to fix WordPress Login Page Refreshing And Redirecting Issue

Depending on your server resources, you can replace 256M with a higher value if necessary.

What’s Next?

  • Users facing login issues spend significant time troubleshooting instead of working on their intended tasks. This results in a loss of productivity and delays in content updates or other critical website activities.
  • Continuous refreshing or redirecting can prevent administrators from accessing the WordPress dashboard. This hinders their ability to manage content, update plugins, or perform essential maintenance tasks, impacting the site’s overall functionality.
  • Repeated login attempts and failures might be misinterpreted as unauthorized access attempts. This could trigger security measures like temporary bans or additional security checks, complicating legitimate access and potentially locking out genuine users.
  • Regularly clear browser cache and cookies, update plugins and themes, verify URL configurations, and increase PHP memory limit to avoid login issues. Try WordPress website maintenance services that ensure seamless website downtime prevention, speed, security, content management, and SEO.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

9 − five =

Scroll to Top

Muhammad Fayyaz

Let's Talk

Schedule a FREE 20_minute call so we can discuss your website support needs.