To avoid php extension like (.php) in url add the code to handle error exception and remove .php from url. Add this code in htaccess file located in your server. Create error.html file in server folder directory and type the…
To avoid php extension like (.php) in url add the code to handle error exception and remove .php from url. Add this code in htaccess file located in your server. Create error.html file in server folder directory and type the…