added index.php redirect