I need help in php. I am making one portal website in Core Php. I had created 404 page and .htaccess file.
404.php:
<html>
<head>
<title>404 Error - Page Not Found</title>
</head>
<body>404 Error - Page Not Found!</body>
</html>
.htaccess:
Redirect 404 /404.php
But this is not working. If I use this code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /404.html [L]
</IfModule>
It shows internal server error.
Here is my website: http://jobguide.australianenglishcenter.com/
ErrorDocument 404 http://example.com/404/
add this line to htaccess and change the url
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With