We frequently get messages from our customers that their WordPress login web page retains refreshing and redirecting. This locks them out of the WordPress admin space, and they’re unable to work on their web site.
Login points could be brought on by varied completely different errors reminiscent of error establishing database connection, inside server error or white display screen of dying.
One other sort of login error is when your WordPress login web page retains refreshing and redirecting it again to the login display screen. On this article, we are going to present you easy methods to repair the WordPress login web page refreshing and redirecting situation.
If you will strive the superior steps talked about on this WordPress tutorial, then please create a again up of your website. See our information on easy methods to manually create WordPress database backup.
What Causes Login Web page Refresh and Redirect Concern in WordPress?
Incorrect WordPress URL settings and failure to set login cookies are the most typical causes inflicting the login web page redirect and refresh situation.
Usually, while you login, WordPress validates your username and password after which units a login cookie in your browser. After that, it redirects you to the WordPress admin space.
If WordPress fails to set the login cookie accurately, or your WordPress admin space URL is inaccurate, you then’ll be redirected again to the login web page as an alternative of the admin dashboard.
That being stated, let’s troubleshoot and repair the WordPress login web page redirect and refresh situation.
Clear Cookies to Resolve Login Points
In Google Chrome, click on on the browser settings menu after which choose Extra Instruments » Clear Shopping Information.
This may launch the Chrome Settings web page with ‘Clear Shopping Information’ popup displayed on the display screen.
From right here, you could choose ‘Clear cookies and different website knowledge’ and ‘Cached photos and recordsdata’ choices
Subsequent, click on on the ‘Clear knowledge’ button and Google Chrome will clear the browser cache.
Additionally, be sure that your browser has cookies enabled. After doing that restart your browser after which attempt to login. This could repair the problem for most folk.
We’ve got an entire information with screenshots exhibiting easy methods to clear cache and cookies in all main browsers.
Replace WordPress URL Settings
WordPress comes with a settings choice that has the URL of your web site and the URL of your WordPress set up.
Should you had entry to your WordPress admin space, then you could possibly see this selection underneath Settings » Basic web page.
If these URLs are incorrect, then WordPress will redirect you again to the login web page.
Now, since you’re unable to entry the WordPress admin space, you’ll have to edit the wp-config.php file to repair this situation.
The wp-config.php file is a particular file in WordPress which comprises your necessary WordPress settings. You may entry utilizing an FTP shopper or through File Supervisor app in your WordPress internet hosting account dashboard.
You’ll discover the wp-config.php file in your website’s root folder. Merely edit the file and paste the next code simply earlier than the road that claims ‘That’s all, cease modifying! Joyful publishing’.
Don’t neglect to exchange instance.com with your individual area title.
After that save your modifications and add the file again to your web site.
Now you can go to your web site and attempt to log in and hopefully, this may have mounted the problem for you.
If it didn’t, then proceed studying for added steps.
Delete .htaccess File in WordPress
Typically .htaccess file can get corrupted which may end up in inside server errors or login web page refreshing error.
Merely entry your web site via an FTP shopper or through the File Supervisor app in your internet hosting account dashboard.
As soon as related, find the .htaccess file within the root folder of your web site and obtain it to your pc as backup.
After that, go forward and delete the .htaccess file out of your web site.
Subsequent, open the wp-admin listing and if there’s a .htaccess file there, then go forward and delete it as effectively.
You May Also Like : How to Disable Fullscreen Editor in WordPress
Now you can attempt to log in to your WordPress web site. Should you succeed, then because of this your .htaccess file was stopping you from logging into WordPress.
As soon as you’re logged in, merely go to Settings » Permalinks web page in WordPress admin space and click on on the Save button with out making any modifications. This may generate a brand new .htaccess file to your web site.
Deactivate All WordPress Plugins
Typically WordPress plugins may cause this situation particularly if there’s a battle between two plugins.
To deactivate all of your WordPress plugins, hook up with your web site utilizing an FTP shopper or through the File Supervisor app in your internet hosting account dashboard.
As soon as related, go to the /wp-content/ listing. Inside it, you’ll see a folder named ‘plugins’. That is the place WordPress installs all of your plugins.
Merely rename the plugins folder to plugins_backup. This may deactivate all WordPress plugins put in in your web site.
We even have an in depth tutorial on easy methods to deactivate all WordPress plugins when unable to entry WP-Admin.
Upon getting deactivated all plugins, attempt to logging in to your WordPress website. Should you succeed, then because of this considered one of your plugins was inflicting the problem.
Revert Again to the Default Theme
WordPress themes may trigger conflicts after upgrading to a more moderen model of WordPress or the theme itself. To seek out out whether or not the issue is being brought on by your theme, you could deactivate your theme.
The method is much like deactivating the plugins. Hook up with your web site utilizing an FTP shopper. Go to /wp-content/themes/ listing and rename your present theme listing to themes_backup.
Upon getting carried out that, then strive logging in once more. Should you succeed, then this implies your theme was inflicting the problem.
Now you can reinstall a contemporary copy of your theme to see if this resolves the problem. If the problem reappears, then contact your theme’s help or swap to a distinct WordPress theme.
We hope this text helped you resolve the WordPress login web page refreshing and redirecting points. You might also wish to see our WordPress troubleshooting information with step-by-step directions on easy methods to repair WordPress errors by yourself.