title: How to redirect 404 error to 404.php page?
body: <p>I need help in php. I am making one portal website in Core Php. I had created 404 page and .htaccess file.</p>
  <p>404.php:</p>
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;404 Error - Page Not Found&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;404 Error - Page Not Found!&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>.htaccess:</p>
  <pre><code>Redirect 404 /404.php 
  </code></pre>
  <p>But this is not working. If I use this code:</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /404.html [L]
  &lt;/IfModule&gt;
  </code></pre>
  <p>It shows internal server error.</p>
  <p>Here is my website: <a href="http://jobguide.australianenglishcenter.com/" rel="nofollow noreferrer">http://jobguide.australianenglishcenter.com/</a></p>