Use getUriForPath() instead getSchemeAndHttpHost() for proper redirection for cases where Thelia is installed in a subdirectory
Add correct url(subdiretory included) in config page
Correct link "Go to admin page" alike thelia is installed in the root of virtual host or in a subdirectory