Add URL replace to custom redirectUrl

This matches the behavior in LeechBlock.