title: I appear to have 500 error page and no 404 error page, why?
body: <p>I'm trying to create custom 500 and 404 error pages</p>
  
  <p>here's my .htaccess page: </p>
  
  <pre><code>Options -MultiViews
      RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !\.php$
  RewriteRule ^(.*)$ $1.php [L,QSA]
  
  ErrorDocument 404 "Sorry, this page was not found"
  ErrorDocument 500 "Sorry, something went wrong, try again later" 
  </code></pre>
  
  <p>here's a 404 page <a href="http://example.com/cats" rel="nofollow">http://example.com/cats</a> - not a page (but it's showing as a 500)</p>
  
  <p>and this one should be a 500 <a href="http://example.com/dogs" rel="nofollow">http://example.com/dogs</a> - a page (because the query returned is blank) but it's not an error message at all - guessing this should be a 500 anyway, i would like it to be</p>
  
  <p>It appears to always show 500 and no 404, but I can't figure out how to stop/fix it, any ideas???</p>
  
  <p>Fixed now </p>