Fixed Issue #268

Added condition for index.php to prevent 404 error