URL 바에 내 사이트에없는 페이지를 수동으로 입력하면 내부 서버 오류로 응답합니다.페이지가 존재하지 않을 때 내부 서버 오류가 발생했습니다.
404 페이지를 찾을 수 없습니까?
내 사이트는 http://www.cristianrgreco.com입니다. 예를 들어 http://www.cristianrgreco.com/example은 서버 오류를 반환합니다.
.htaccess 파일을 가지고 놀 때 자주 발생하는 오류입니다. 아래에 광산을 게시했습니다.
RewriteEngine On
Options +FollowSymLinks
# Add WWW to URL
RewriteCond %{HTTP_HOST} ^cristianrgreco\.com$ [NC]
RewriteRule ^(.*)$ http://www.cristianrgreco.com/$1 [L,R=301]
# Remove trailing slashes from end of URL
RewriteCond %{HTTP_HOST} !^\.cristianrgreco\.com$ [NC]
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [L,R=301]
# Rewrite article URLs
RewriteRule ^articles/([a-zA-Z0-9_-]+)/?$ articles.php?article=$1
# Remove file extension from PHP files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
미리 도움을 주셔서 감사합니다.
내가 전에이 문제가 발생한
당신은 [프로 웹 마스터 (http://webmasters.stackexchange.com/) 대신에 시도 할 수 있습니다 말한다. –