--- title: urlRedirects - Storefront API description: A list of redirects for a shop. api_version: 2025-10 api_name: storefront type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/latest/queries/urlRedirects' md: 'https://shopify.dev/docs/api/storefront/latest/queries/urlRedirects.md' --- # url​Redirects query A list of redirects for a shop. ## UrlRedirectConnection arguments [UrlRedirectConnection!](https://shopify.dev/docs/api/storefront/latest/connections/UrlRedirectConnection) * after [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come after the specified cursor. * before [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come before the specified cursor. * first [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Returns up to the first `n` elements from the list. * last [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Returns up to the last `n` elements from the list. * query [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Apply one or multiple filters to the query. Refer to the detailed [search syntax](https://shopify.dev/api/usage/search-syntax) for more information about using filters. * created\_at * path * target * reverse [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean) Default:false Reverse the order of the underlying list. *** ## Possible returns * edges [\[Url​Redirect​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/UrlRedirectEdge) non-null A list of edges. * nodes [\[Url​Redirect!\]!](https://shopify.dev/docs/api/storefront/latest/objects/UrlRedirect) non-null A list of the nodes contained in UrlRedirectEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo) non-null Information to aid in pagination. *** ## Examples * ### urlRedirects reference ## Query Reference ```graphql { urlRedirects { # urlRedirects fields } } ```