Options + MultiViews cannot be used on our server for security reasons.
Alternatively, you can use rewrite to achieve similar behavior.
Please fill in .htaccess and check the operation.
Rewrite Engine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.)/$ $1.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(. )$ $1.php [L]
Please note that the detailed description method of .htaccess is not supported. Please refer to our support policy for details on what is supported.