wheel - 1:14 pm on Apr 18, 2011 (gmt 0)
I have a wordpress install in my root folder, with the associated htaccess file, including a 404 redirect.
I have a subdirectory, non wordpress (different app) that needs it's own htaccess, with it's own 404 redirect.
It seems the htaccess in the root folder is taking precedence over the htaccess in the subdirectory. When I request a file that's 404 in the subdirectory, I get the wordpress 404. How can I change this behavior, so that the subdirectory htaccess takes precedence over the root htaccess, for files in the subdirectory?
here's the htaccess from the subdirectory:
ErrorDocument 404 /articles/images/404.php
So if I visit example.com /articles/images/doesnt-exist.jpg , I should get 404.php. I don't - I get the wordpress 404 from example.com