> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Redirect V1

# Type: Redirect Object

# Link: https://dev.wix.com/docs/api-reference/business-management/seo/redirects/redirect-v1/redirect-object.md

## Description: A redirect sends a visitor who requests one path on a site to another path or URL.

Redirects keep old links working after a page is renamed or removed, consolidate duplicate URLs,
and point a whole section of a site somewhere else. A redirect returns a 301 permanent redirect,
takes effect on the live site immediately with no site publish, and takes precedence over a page
that exists at the same path.

A redirect either matches its `from` path exactly, or matches everything under it when
`options.groupRedirect` is `true`. A redirect scoped to a `language` applies to that language
version of a multilingual site, and one with no `language` applies to every language.

## Schema:

```json
 Type: Redirect Object | type: Redirect
 Description: A redirect sends a visitor who requests one path on a site to another path or URL.

Redirects keep old links working after a page is renamed or removed, consolidate duplicate URLs,
and point a whole section of a site somewhere else. A redirect returns a 301 permanent redirect,
takes effect on the live site immediately with no site publish, and takes precedence over a page
that exists at the same path.

A redirect either matches its `from` path exactly, or matches everything under it when
`options.groupRedirect` is `true`. A redirect scoped to a `language` applies to that language
version of a multilingual site, and one with no `language` applies to every language.
       - name: from  | type: string | description: Path on the site that the redirect starts from, URL-encoded. For example, `/old-page`.  Can't be the site root. A path that differs from another redirect's `from` path only by a trailing slash counts as the same path.  For a redirect scoped to a `language`, specify the path with or without the language prefix: the prefix is stripped, so a `fr` redirect from `/fr/about` is stored and returned as `/about`.
       - name: to  | type: string | description: Where the redirect sends the visitor, URL-encoded. Either a path on the site, such as `/new-page`, or a full URL, such as `https://example.com/page`.
       - name: options  | type: RedirectOptions | description: How the redirect matches the paths a visitor requests.
           - name: groupRedirect  | type: boolean | description: Whether the redirect matches every path under its `from` path, carrying the rest of the URL over to the target. For example, a group redirect from `/forum/questions/` to `/forum/faqs/` sends `/forum/questions/my-post` to `/forum/faqs/my-post`. When `false`, only the exact `from` path matches.  A group redirect and an exact redirect that share a `from` path are two different redirects.  Default: `false`
       - name: language  | type: string | description: Language version of a multilingual site that the redirect applies to, as a 2-letter language code or a language tag. For example, `fr` or `en-US`.  When omitted, the redirect applies to every language on the site. A redirect scoped to a language conflicts only with redirects in the same language and with redirects that apply to every language.  Deleting a redirect scoped to a language stops it taking effect, but it can still appear in [List Redirects](https://dev.wix.com/docs/api-reference/business-management/seo/redirects/redirect-v1/list-redirects.md).
           - name: value  | type: string | description: 
       - name: id  | type: string | description: Redirect ID.  You can specify your own ID when creating a redirect. When omitted, an ID is generated.
       - name: createdDate  | type: string | description: Date and time the redirect was created.  Not returned by [Create Redirect](https://dev.wix.com/docs/api-reference/business-management/seo/redirects/redirect-v1/create-redirect.md). Call [Get Redirect](https://dev.wix.com/docs/api-reference/business-management/seo/redirects/redirect-v1/get-redirect.md) or [List Redirects](https://dev.wix.com/docs/api-reference/business-management/seo/redirects/redirect-v1/list-redirects.md) to retrieve it.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 

```