removing unnecessary "index.php" from rewrite rule