Added htaccess condition

Added condition for index.php to prevent 404 error