How To Fix WordPress Login Redirect Loop Problem - FixRunner

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video we're going to show you how to fix wordpress login redirect loop problems okay let's get started this is one of those things all wordpress developers stumble upon at some point in time in this rather short step-by-step wordpress beginners guide we will talk about what causes and how to fix wordpress login redirect loop issue here's the problem i am trying to log into my wordpress dashboard but something is wrong you enter your login and password but the page keeps refreshing and redirecting you to the same location so what's the big idea to fix this issue we're going to show you five solutions so the first solution is to clear your browser cache wordpress sites use cookies to collect data during wp admin customer login events these cookies can sometimes interfere with login processes and create redirects loop error or similar internal server errors all you have to do in this case is to clear browsing data so let's go to your chrome and let's clear your browsing data on your chrome on the upper right side of your screen you will see a tree dot icon click on that now click more tools and click clear browsing data now here you'll be able to delete your browsing history your cookies and other site data cache images and files but for this solution we only need to delete the cookies and other site data so uncheck browsing history and cache image and files select the time range and hit clear data that's done so let's proceed with the second solution now the second solution is to manually deactivate plugins sometimes a plugin or multiple plugins for wordpress can have a corrupted code since you can't access your dashboard and can't disable them that way you will have to do it by hand using an ftp client or filezilla so for this solution we are going to access your website using filezilla since you can't log in to your website if you don't have an ftp account i put a link on how to do that on the description below and also in this solution we'll be needing an ftp client which is filezilla i also link that on the description below all right let's continue so the first thing that you're going to do is to open your filezilla now we're going to put a host the username and the password and then we're going to click quick connect all right once you've entered your host username and password click quick connect alright so we've successfully logged into your website files now on the lower right side of your filezilla look for the folder public html now inside public html look for the folder wp content double click to enter the folder now inside this folder we're going to look for a folder called plugins and we're going to rename that to something like plugins backup let's go ahead and do that now we're not done yet because we renamed the original plugins folder we now need to create a new plugins folder that is empty so let's go ahead and do that so on the lower right hand of your filezilla right click and click create directory and rename this new directory inside wp content to plugins hit ok now we're done now go back to your website and hit refresh and check if the issue is fixed if this solves the issue then you need to debug which plug-in is causing the issue all right so we're actually done so don't close files delay it because we we're gonna need it on the next solution let's move to the next solution so the third solution is to revert back to the default wordpress theme just like with plugins something can go wrong with the team itself there could be a virus or something can interfere with a code maybe the developers did not update the team so it is no longer compatible with the new version of wordpress as a result you are unable to log in to wp admin so what now as was the case with the second solution the fix revolves around renaming wordpress files here too the only difference is that you need to rename teams instead of the plugins folder so on your filezilla look for public html again on the lower right side of your filezilla then look for wp content folder and then inside wp content folder look for teams and rename that to something like teams backup just like what we did with the plugins folder so renaming the theme folder is not going to be enough because if we rename the team folder your wordpress site will not have any theme and therefore will get an error so what we're going to do next is to go to wordpress.org and download the wordpress installer inside that installer we will get the default theme folder and upload it where we renamed your original theme folder alright let's do it first let's go to the official wordpress site which is by the way i've linked on the description below wordpress.org click get wordpress and download wordpress right here so once you've downloaded that let's go back to filezilla now on the lower left side of the filezilla which is right here let's look for the wordpress file that we just downloaded right here by the way you should have this unzip so we're gonna do that alright so once you've unzipped that double click on it double click again and double click on wp content folder and drag this teams folder to the other side this left side by the way is your computer and the right side is your wordpress files now you just need to wait for the transfer to finish you now have a fresh copy of the themes on your site go back to your browser and refresh it the wordpress wp admin redirecting should now stop if not let's go to the next solution now the fourth solution is to rename or delete htaccess file the htaccess file contains a set of rules on how the internal server should respond to various requests there are times when this relation gets altered an end result creates a redirect loop on wp admin this fix is rather simple let's go back to filezilla now let's go back to the main directory by clicking this two dots click it again now we're going to look for public html again double click that so let's look for dot ht access and it's right here now delete this or just rename it to have a backup so let's just rename that right click rename and put backup all right now what we are going to do next is upload a fresh.htaccess file again just like what we did with the teams folder earlier we are going to get the new dot htaccess file from the wordpress installer file we just downloaded on the lower left side of your filezilla let's look for the wordpress installer we just downloaded and then inside of that folder let's go to public html wp content and plugins inside plugins drag the dot ht access file to the other side all right so we're done now let's go back to our website and let's try to login now let's try to login now if you are able to log in let's go to settings and go to permalinks scroll down to the bottom and hit save changes you should no longer have any wp admin redirect or similar server errors all right so we're done with the fourth solution if the issue is still not fixed let's proceed with the fifth and the last solution now the fifth solution is to edit wpconfig.php file wpconfig.php file is one of the more important files of the wordpress package it contains information wordpress needs to connect to the database it is not something you should mess around with for the fun a bit in a case you accidentally change something for example database name and you are using wordpress hosting service you can ask your provider for the information and change it back now if all the steps above did not work you can try to update site url method to do that let's go to filezilla and open the wpconfig.php file on your website's home directory on the lower right side of filezilla look for public html again double click on that now scroll down and look for wp config.php now to do this we're going to the cpanel and open the wpconfig.php file so let's go to your website cpanel let's login if your web host doesn't have a cpanel you can contact your web host or read your web host manual in order to learn how to do this now let's continue now on your cpanel scroll down and look for the files section and under files look for the file manager now we are on the home directory inside the home directory scroll down and look for public html double click on that now inside this folder look for wpconfig.php and here it is right click on it and click edit and click edit again and we're going to look for this line within this code here it is so before this line we're going to add the following code and this code is on the description below so kindly check that now once you put the code there you need to change the yoursite.com to the actual url of your website so in this example my website is fixedrunnertest.com so once you've changed that on the upper right side of your screen click save changes and then hit close there you go you've defined your site url and wordpress admin login redirected issue is now fixed now we've reached the end of our tutorial thank you so much for watching if you like this video kindly share it and hit the like button and if you don't want to miss our next videos hit the subscribe button and the bell icon so that if we upload a new tutorial you'll get a notification thank you for watching and you have an awesome day
Info
Channel: FixRunner.com
Views: 6,494
Rating: undefined out of 5
Keywords: How To Fix WordPress Login Redirect Loop Problem, WordPress Login Redirect Loop, WordPress Login Redirect Loop Problem, redirect loop issues, login redirect loop problems, wordpress login problem wp admin, deactivate plugins wordpress, clear browser cache, wordpress tutorial 2020
Id: JzIjy5-snkQ
Channel Id: undefined
Length: 12min 21sec (741 seconds)
Published: Wed Sep 30 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.