I have put the code to hide .php from the url. For example, it was before www.abc.com/service.php, After putting the code in .htaccess file, it become www.abc.com/service