Forward URL redirect is not working
Symptoms
When attempting to access the Canonical URL for a story, the Redirect URL in Composer does not result in a redirect to the specified Forward URL in the Meta Data tab.
Cause
Page Builder front-end code is not using the resolve function to render content, or is otherwise not configured to handle the redirect metadata.
Solution
Make sure the URL matches a resolver that uses a Content API content source
api.{org}.arcpublishing.com/content/v4
.If you are not using the prebuilt
resolve
function in your content source, make sure to look for the redirect in the documentrelated_content.redirect
and return a redirect error/exception.If you use source filters in your content source, add
related_content.redirect
property to your filter so it is not excluded from the API's response.