I want to remove .php extension from all url also want to redirect user to the links without file extension, if someone input url with .php.
change this url http://localhost/xyz.com/post-add.php
to this http://localhost/xyz.com/post-add
for all file is that possible with htaccess?
post-add.phpurl automatically changes topost-add