Still redirect loop, but now in index.php