rebase string urls to uri_root, closes #1535