Hi, Working on a client website for promotion and fixing also coding which cause errors on website.
HTACCESS : Remove .php from but with slash (/) giving internal error
9
Hi,
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 .... from htaccess we removed .php
But issue is when type of static page like then its giving internal server error.
Htaccess code is as below
I tried by add below code but still same issue.
Please let us know that how can fix this issue.
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 .... from htaccess we removed .php
But issue is when type of static page like then its giving internal server error.
Htaccess code is as below
PHP Code:
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
PHP Code:
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
- Ruqyahcirebon Banned
- techcop
- Md Nadim Islam22 Banned
- Md Nadim Islam22 Banned
- littleguyhosting
- marksmith121
- Asif Ali Arain Banned
- Eholic
- Insurance Gully
- Thinkfast
- Akashbro120d Banned
Next Topics on Trending Feed
-
9