Move invalid paths to home page