# UrlRedirect - admin-graphql - OBJECT Version: 2024-04 ## Description The URL redirect for the online store. ### Access Scopes `read_online_store_navigation` access scope. ## Fields * [id](/docs/api/admin-graphql/2024-04/scalars/ID): ID! - The ID of the URL redirect. * [path](/docs/api/admin-graphql/2024-04/scalars/String): String! - The old path to be redirected from. When the user visits this path, they will be redirected to the target location. * [target](/docs/api/admin-graphql/2024-04/scalars/String): String! - The target location where the user will be redirected to. ## Connections ## Related queries * [urlRedirect](/docs/api/admin-graphql/2024-04/queries/urlRedirect) Returns a redirect resource by ID. * [urlRedirects](/docs/api/admin-graphql/2024-04/queries/urlRedirects) A list of redirects for a shop. ## Related mutations * [urlRedirectCreate](/docs/api/admin-graphql/2024-04/mutations/urlRedirectCreate) Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object. * [urlRedirectUpdate](/docs/api/admin-graphql/2024-04/mutations/urlRedirectUpdate) Updates a URL redirect. ## Related Unions ## Examples