HTACCESS : Remove .php from but with slash (/) giving internal error
Working on a client website for promotion and fixing also coding which cause errors on website.
We found an htaccess error and not getting that how to fix this issue. So need any htaccess expert guide to fix this issue.
https://www.amerrugs.com/about-amer (We can not define our issue without URL so we are adding this URL)
Original page of this URL /about-amer.php .... from htaccess we removed .php
But issue is when we are adding slash at last of this type of static page like /about-amer/ then its giving internal server error.
Htaccess code is as below
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)/$ $1.php
Guest Posting Sites List - 10k+ Sites Collection, No PBN , Multiple Niche Markets .