Fixed index.php redirect to be relative