Forum Moderators: phranque
How should I be setting up my 404 to get it to return the proper status code? My .htaccess pointing to my custom 404 (and 403) looks like this:
ErrorDocument 403 [domain.com...]
ErrorDocument 404 [domain.com...]
I had the same problem a while ago. What worked for me was removing the absolute link and putting instead /error404.htm.
However, it still doesn't work for my subdomains, and when I tried to create another .htaccess file for the subdomain it overwrote the domain version...!
Hope that works for you anyway,
Alex