How to fix WordPress Login Page Refreshing and Redirecting?
By Robert Mills
Table of Contents
We have created this article only for you guys to relieve some of the head stress facing because of the WordPress Login Page Refreshing and Redirecting process on any of your hostings. This article will come in handy situations for you.
Login Page keeps redirecting or refreshing or locked in admin page:
If you entering the login details correctly and still persistently facing this issue then we are locked on admin page because of some issue facing in the backend process that helps to run the website and admin page.
In this article, we’ll look at the common causes of this redirect loop at different stages of errors. We’ll show you how to troubleshoot the WordPress login redirect error so you can get back into your site.
Always take a backup of all the files of your website before doing any steps.
Let’s get started!
Common things you should check always with WordPress:
- Login details – Username and Password that you set for WordPress admin page same must be saved in Cpanel.
- WordPress is updated to latest version.
- All the Plugins and Themes are updated to the latest version and check the installed are compatible to WordPress’s latest updates or not.
- Always have regular monthly or weekly backup files.
- Have Security and malware scan Plugins installed to protect your website from hackers.
Steps to fix Redirecting and Refreshing issue:
- Editing wp-config.php File.
- Clearing Your Browser Cache
- Manually Deactivating Plugins
- Reverting Back To Default WordPress Theme
- Create New .htaccess File
1. Editing wp-config.php File
Check-in these two boxes is the same that you have given while you first installed the WordPress if you have access to the admin page.

The wp-config.php file is one of the important file in WordPress which contains information WordPress need to connect to the database. Simply, click edit .wp-config and paste the following code before the line ‘/* That’s all, stop editing! Happy publishing. */ ’ to update the website URL.
define(‘WP_HOME’,’https://www.domainname.com’);
define(‘WP_SITEURL’,’https://www.domainname.com’);
Don’t forget to replace domainname.com with your own domain name.
2. Clearing Your Browser Cache
WordPress uses cookies for login authentication. So the first step in troubleshooting is WordPress login issues by clearing your browser cookies and cache.
Step 1: In top right corner, click the three dots » More » Clear browsing data.

Step 2: Click the check box of cookies and cached images and click clear data.

3. Manually Deactivating Plugins
Sometimes WordPress Plugins can cause this issue especially if there is a conflict between newly installed or updated Plugins which is incompatible with the old one.
To login to cPanel, your “domain/cpanel” -> File manager -> public_html -> wp_content
So, have to disable all your Plugins by renaming the Plugins folder in File Manager as plugins_backup.

If it login to the dashboard, then have to disable the Plugins one by one like you did now and find which one causes the issue, delete and install a fresh plugin for it. If not, revert back to the original and move on to the theme folder.
4. Reverting Back To Default WordPress Theme
The same process for theme also. If you can log in to the dashboard after renaming the theme folder, then find which one causes the issue. And you have to disable the themes one by one and find which one causes the issue, delete and install the fresh theme for it. Also, change the default theme to different one if needed. If couldn’t solve, revert back to the original and move on to the next step.
5. New .htaccess File
The .htaccess file is one of the most sensitive files on the WordPress site. Sometimes it can be facing an error which can result to lose access to your wp-admin panels. So, responding to various requests from the server gets disconnected and made to loop the refresh admin page.
Rename the .htaccess file as .htaccess_backup and download it but don’t delete it as if the error is not with it, we need the old .htaccess file. Now try to login to the admin page. If you could, then .htaccess causes the issue.
Go to Settings -> Permalink -> click save changes (don’t change anything) and it will create a new .htaccess file with the default codes.

If couldn’t solve, revert back to the original.
Hope, these would have fixed the issue now.
If you still facing this issue, contact your hosting provider because this may be a problem that could only be solved by them or from their side.
Here, as a hosting provider, we are providing the best service in terms of hosting and also making them live with our best-trained teams in 24*7-time loop.
Additional Tips for safety:
- Avoid too many failed login attempts. It may block your IP. If unable to recover your password using the ‘Recover Password’ option or change through phpmyadmin check this for reference -> https://www.seekahost.com/reset-a-wordpress-password-from-phpmyadmin.
- Solve the following errors with our articles for your help:
- HTTP 500 Internal server -> https://www.seekahost.com/http-internal-server-error-wordpress/
- White screen of death -> https://www.seekahost.com/wsod-error-in-wordpress/
- Error establishing database connection -> https://www.seekahost.com/error-in-establishing-database-connection/
- PHP Errors(memory limit) -> https://www.seekahost.com/increase-php-memory-limit-cpanel/
- Reinstall WordPress (If can’t solve using above method) -> https://www.seekahost.com/install-wordpress-using-cpanel/
- Permission Check:
- Files have 644 permissions
- Directories have 755 permissions