i have my all urls ending with .php
i have removed the extension with htacessCode:http://localhost/vineet/index.php
this is htaccessCode:http://localhost/vineet/index/
now if anyone writes index.php or contactus.php . means if anyone adds the .php extension to my url then i want to show him an error page or page not found page or redirect to index page.Code:Options +FollowSymlinks RewriteEngine On RewriteRule ^(.+)/$ $1.php
but my pages should not get effected.