Redirects API v2

Redirect a visitor from a specific URL path to a different target URL.

The target URL may represent a dynamic resource (such as a Page, Product or Category), or a static resource (like a file in the Media Library or an external URL).

Dynamic resources are subject to change. A web page may undergo several revisions to its URL over time. Evance attempts to eliminate multiple/chained redirects by converting the target URL into a resource and ID pair. Even after several revisions to the target's URL, your redirect will still be as efficient as when you added it.

Static resources aren't subject to the same changes. That may not be the case when redirecting to an external URL, but that's out of our control and will need to be managed manually on change.

The Redirect Object

Learn about the Redirect object and its properties.

List Redirects

GET /api/v2/redirects.json

Get a single Redirect

GET /api/v2/redirects/{id}.json

Add a Redirect

POST /api/v2/redirects.json

Update a Redirect

PUT /api/v2/redirects/{id}.json

Delete a Redirect

DLEETE /api/v2/redirects/{id}.json