Changed all redirects, as Azure didnt work with getting server php_self