--- title: UrlRedirect - GraphQL Admin description: The URL redirect for the online store. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/UrlRedirect md: https://shopify.dev/docs/api/admin-graphql/latest/objects/UrlRedirect.md --- # Url​Redirect object Requires `read_online_store_navigation` access scope. The URL redirect for the online store. ## Fields * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) non-null The ID of the URL redirect. * path [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The old path to be redirected from. When the user visits this path, they will be redirected to the target location. * target [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The target location where the user will be redirected to. *** ## Map ### Fields and connections with this object * <->[UrlRedirectConnection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/UrlRedirectConnection#returns-nodes) * {}[UrlRedirectEdge.node](https://shopify.dev/docs/api/admin-graphql/latest/objects/UrlRedirectEdge#field-UrlRedirectEdge.fields.node) *** ## Queries * [url​Redirect](https://shopify.dev/docs/api/admin-graphql/latest/queries/urlRedirect) query Returns a `UrlRedirect` resource by ID. * [url​Redirects](https://shopify.dev/docs/api/admin-graphql/latest/queries/urlRedirects) query A list of redirects for a shop. *** ## \UrlRedirect Queries ### Queried by * \[url​Redirect](https://shopify.dev/docs/api/admin-graphql/latest/queries/UrlRedirect) * \[url​Redirects](https://shopify.dev/docs/api/admin-graphql/latest/queries/UrlRedirectConnection) *** ## Mutations * [url​Redirect​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectCreate) mutation Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object. * [url​Redirect​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectUpdate) mutation Updates a URL redirect. *** ## <\~> UrlRedirect Mutations ### Mutated by * <\~>[url​Redirect​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectCreate) * <\~>[url​Redirect​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/urlRedirectUpdate) *** ## Interfaces * [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node) interface *** ## ||-UrlRedirect Implements ### Implements * ||-[Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)