What a Route Is
Overview
A Route is a top-level document in Sanity that defines how a URL on your Marketplace site works. It connects a URL path to the template (layout) that renders the page, the Page content to display, and optional navigation and SEO settings.
Every URL that should exist on a Marketplace site needs a Route. If there is no Route, there is no URL for the site to render.
What a Route controls
A Route is configuration, not content. The content lives in a separate Page document.
A Route typically controls:
- The URL path or paths that should point to this Route
- The layout that determines which frontend template is used
- Which Page document is rendered for that URL (for layouts that use Page content blocks)
- Optional navigation override for this specific URL
- Optional SEO override at the Route level
Where you edit a Route in Sanity
In Sanity Studio, a Route has two main areas:
- Configuration: URL paths, layout selection, and optional navigation override
- SEO: optional Route-level SEO override settings
Common Route fields (high level)
- name: An internal label used in Studio lists to help editors identify the Route. Visitors do not see this value.
- paths: One or more URL entries (for example, /about-us). A Route can support multiple paths that all point to the same Route.
- layout: Selects the frontend template used to render the URL.
- overrideNavigation and navigation: When enabled, lets this Route use a specific navigation configuration instead of the site default.
- overrideSEO and seo: When enabled, lets this Route set Route-level SEO values instead of inheriting them.