I have some old html pages that have SSI includes in them to include certain html in all the pages.
So, the SSI looks something like this:
But I want to move that included file from /includes/noNav/footercode.html to /includes/footercode.html so I implemented a redirect in an .htaccess file like this:
# Redirect permanent /includes/noNav/footercode.html http://intranet.myorg.org/includes/footercode.html
But now I get errors saying "unable to include "/includes/noNav/footercode.html" in parsed file" So, do redirects not work on included files?
Also, if I browse directly to the old path, it will correctly redirect me. But it fails if the path is included.