--- title: UrlRedirect - Storefront API description: A redirect on the online store. api_version: 2025-10 api_name: storefront type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/objects/urlredirect md: https://shopify.dev/docs/api/storefront/latest/objects/urlredirect.md --- # Url​Redirect object Requires `unauthenticated_read_content` access scope. A redirect on the online store. ## Fields * id [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID) non-null The ID of the URL redirect. * path [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null The old path to be redirected from. When the user visits this path, they'll be redirected to the target location. * target [String!](https://shopify.dev/docs/api/storefront/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/storefront/latest/connections/UrlRedirectConnection#returns-nodes) * {}[UrlRedirectEdge.node](https://shopify.dev/docs/api/storefront/latest/objects/UrlRedirectEdge#field-UrlRedirectEdge.fields.node) *** ## Queries * [url​Redirects](https://shopify.dev/docs/api/storefront/latest/queries/urlRedirects) query A list of redirects for a shop. *** ## \UrlRedirect Queries ### Queried by * \[url​Redirects](https://shopify.dev/docs/api/storefront/latest/queries/urlRedirects) *** ## Interfaces * [Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node) interface *** ## ||-UrlRedirect Implements ### Implements * ||-[Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)