You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Create redirects to homepage

Received Response
51
Views
5
Comments
edited Mar 4, 2024 9:53AM in Commerce 5 comments

Summary:

We're using (create/update)Redirect via the REST API to set up redirects for old/removed pages to take us back to the homepage. Currently, we have a "/home" page for this. Our goal is for the redirects to go to the homepage. We've tried using an empty targetUrl but that returns an error. How can we create redirects that take you to the homepage?

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

23.11

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!