Add support for disabling url_rewrite