remove .php in htdocs
xxxxxxxxxx
//create a .htaccess file in your root folder
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
https://stackoverflow.com/questions/40498430/removing-php-extensions-from-files-in-htdocs