Add redirect route logic.