I have a problem: I have a problem: / err404 page 200OK there is a problem with the header, although it should be 404. What is wrong if you have 200 OK? is there something similar 200 OK should be in the state of the 404 error page header?
Appreciate the tips! thanks a lot!
I assume it is related to .htaccess. here is my .htaccess file;
ErrorDocument 404 /err404.html RewriteEngine On RewriteRule ^login.html$ index.php?s=login&a=loginDo [QSA,L] RewriteRule ^logout.html$ index.php?s=login&a=logoutDo [QSA,L] RewriteRule ^([^/]*).html$ index.php?s=$1 [QSA,L] RewriteRule ^members/([^/]*)$ index.php?s=profile&username=$1 [QSA,L] RewriteRule ^([^/]*)/$ index.php?s=listing&search[cityString]=$1 [QSA,L] RewriteRule ^([^/]*)/([^/]*)/$ index.php?s=listing&search[neighborhoodString]=$2 [QSA,L] RewriteRule ^([^/]*)/([^/]*)/([^/]*).html$ index.php?s=details&seo_friendly=$3 [QSA,L]
I also have some problems related to this htaccess file :(
Question 1; when the url is like http: //localhost/fdfcdcvdvdvbdf.html (no url exists), it redirects to the main page, but it should redirect to err404.html. Any ideas on the issue? err404 redirection works well in the case of a url like http: //localhost/fdfcdcvdvdvbdf.ht or <a2>
Question 2; How can I fix this problem 200 OK: /
source share