setRedirectOrder

setRedirectOrder

Set the order of Redirects in the list.

await framer.setRedirectOrder([aboutPageRedirect.id, blogPageRedirect.id])

Unknown Redirect IDs are ignored.

Throws a FramerPluginError when the user lacks Site Settings permissions or when the project plan does not include Redirects.

Parameters

  • redirectIds: string[] – An array of Redirect IDs representing the desired order.

Returns

  • Promise<void>