I am using a theme that handles a custom 404 page for unknown URL's. The trick is, I need to exclude a couple sub-directories from being handled by the 404 page. I use some sub-directories to host images and HTML content for email marketing, etc.
I have done tons of searching, and I've tried several different redirect rules in the .htaccess file, but I can't get it to work. Is this something I need to edit directly in the 404.php. file? Can anyone help me out with the rules I would need?
The sub-directories I need excluded are /content and /images (and potentially a couple more.)