title: Does not have a custom 404 Error Page
body: <p>I have setup 404 pages using cakephp controllers, and it is working fine when I try to go to a page that does not exist it comes back with http response 404 and the 404 page is displayed, but tools like woorank.com and PowerSeo always said that a custom 404 page is not defined? </p>
  
  <p>Is there any thing I can do in the .htaccess file to make those tools know that I have 404 page defined? I have added the ErrorDocument 404 /404.html to .htaccess but still same error. Where do they look for the 404 page defined?</p>
  
  <p>.htaccess file</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
         RewriteEngine on
         RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
         RewriteRule .* – [F,L]
         RewriteCond %{SERVER_PORT} 80 
         RewriteRule ^(.*)$ https://www.domain.com [L,R=301]
        &lt;/IfModule&gt;
  
      ExpiresActive On
      ExpiresByType text/html "access plus 1 day"
      ExpiresByType image/gif "access plus 10 years"
      ExpiresByType image/jpeg "access plus 10 years"
      ExpiresByType image/png "access plus 10 years"
      ExpiresByType text/css "access plus 10 years"
      ExpiresByType text/javascript "access plus 10 years"
      ExpiresByType application/x-javascript "access plus 10 years"
  Header unset Pragma
  Header unset ETag
  FileETag None
  ErrorDocument 404 /404.html
  </code></pre>