Added ability to redirect paths to different view folders.