-3
내 사이트에 문제가 있습니다. viewprofile.php
을 볼 수 없습니다.Not found : 요청한 URL /viewprofile.php를이 서버에서 찾을 수 없습니다.
여기 내 .htaccess
파일입니다.
RewriteCond %{HTTP_HOST} ^waytonikah.com [NC]
RewriteRule ^(.*)$ http://waytonikah.com/$1 [L,R=301]
이 규칙이 수행합니다 :
RewriteEngine on
RewriteRule (.*)-(.*).htm$ viewprofile.php?id=$1
RewriteRule (.*).htm$ viewprofile.php?id=$2
RewriteRule viewads(.*)\.htm$ viewads.php?id=$1
RewriteRule (.*)&(.*)\.htm$ homeads.php?id=$2
RewriteRule (.*).htm$ profile_city.php?id=$1
RewriteRule (.*).htm$ profile_cast.php?id=$1
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
ErrorDocument 404 /viewprofile.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^waytonikah.com [NC]
RewriteRule ^(.*)$ http://waytonikah.com/$1 [L,R=301]
우리가 – Gautam3164
내가 어제 같은 질문을 본 것 같아요 .. –
시도가 너와 넣어 것 '^'(규칙 앞 :'RewriteRule^(. *). htm $ viewprofile.php? id = $ 2') URL이 http://waytonikah.com/test.htm인지 확인하십시오. –