Add hash to redirect url regex