Added redirect support for index pages as well as early-return paths for error pages