Add redirect to home page on undefined path