Notifications
Clear all

How to Fix WordPress Login Page Refreshing and Redirecting Issue (Easy Guide)

1 Posts
1 Users
0 Reactions
17 Views
Posts: 301
Admin
Topic starter
(@admin)
Member
Joined: 11 months ago

If you are stuck in a loop where your WordPress login page keeps refreshing or redirecting after entering your credentials, don’t worry! This issue is usually caused by incorrect settings, plugin conflicts, or browser cache problems.

Follow this step-by-step guide to fix it.


Why Does the WordPress Login Page Keep Refreshing?

  • Corrupt .htaccess file

  • Cache issues in your browser or WordPress

  • Incorrect site URL settings in the database

  • Plugin or theme conflicts


How to Fix WordPress Login Page Redirect Issue

1. Clear Your Browser Cache and Cookies

Before making any changes to your website, try clearing your browser’s cache and cookies:

  • Google Chrome: Press Ctrl + Shift + Delete → Select Cookies and Cached Images → Click Clear Data.

  • Mozilla Firefox: Press Ctrl + Shift + Delete → Choose Everything → Click Clear Now.

Then, restart your browser and try logging in again.


2. Rename the .htaccess File

  1. Log in to your site using FTP or cPanel File Manager.

  2. Go to the public_html folder.

  3. Find the .htaccess file and rename it to .htaccess_old.

  4. Try logging in again.

  5. If this works, go to WordPress Dashboard → Settings → Permalinks and click Save Changes to regenerate the .htaccess file.


3. Check Site URL in Database

  1. Open phpMyAdmin from your cPanel.

  2. Select your WordPress database.

  3. Open the wp_options table.

  4. Find siteurl and home rows.

  5. Ensure both values match your actual site URL, e.g., https://yourwebsite.com .

  6. If needed, update them and save the changes.


4. Disable Plugins Manually

A faulty plugin may cause login issues. To check:

  1. Connect to your site via FTP or File Manager.

  2. Go to wp-content/plugins/.

  3. Rename the plugins folder to plugins_old.

  4. Try logging in.

  5. If you can log in, rename the folder back and reactivate plugins one by one to find the problem.


5. Switch to a Default Theme

A faulty theme might be causing the issue. To test:

  1. Go to wp-content/themes/.

  2. Rename your current theme’s folder (e.g., yourtheme_old).

  3. WordPress will switch to a default theme (like Twenty Twenty-One).

  4. Try logging in again.


Conclusion

If your WordPress login page keeps refreshing, try clearing the cache, renaming .htaccess, checking the site URL, disabling plugins, or switching to a default theme. If you still face issues, ask for help on Tech Fix Forum! 😊

 
 
 
Topic Tags
Share: