Redirection login loop after entering alternateloginurl
There will be Redirection login loop after entering alternateloginurl and if you have enabled force user login. To solve the issue 1. Login to database via phpmyadmin 2. Go to mdl_config table 3. Search for alternatloginurl and remove the url you have given 4. Now go to config.php in moodle directory 6. add $CFG ->alternateloginurl = ''; 7. Save and restart apache and mysql