Bugfixing : redirect was not working when LMS is installed on a remote server.