# Story redirect not working (migrated stories)

Source: https://docs.arcxp.com/en/knowledge-articles/developer/story-redirect-not-working--migrated-stories-.html

## Symptoms

- Added a redirect as part of a story’s Arc XP Native Specification (ANS) and migrated the story into Arc.
- Migrated the story into Arc and created a redirect before publishing the story.

## Cause

The URL has not been generated for the story yet. The story needs to be published to create a redirect for it.

## Solution

1. Publish the story then create the redirect
2. Manually add a website\_url to the story’s ANS then create the redirect - if you want to redirect an unpublished story.

## More Information

| • [Arc XP Draft API - Stateful](https://dev.arcxp.com/api/content-administration/draft-api-sandbox/)• [How to Use Draft API to Regenerate and Redirect a Document URL](https://docs.arcxp.com/en/products/publishing-platform/how-to-use-draft-api-to-regenerate-and-redirect-a-document-url.html) |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
