No text available
I recently re structured our company's help centre (archived and merged articles), only now to realise I need the old article URLs in order to redirect our customers to the new articles? What can I do?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Hi Lisa,
The easiest way to get the HTML URLs of your Help Centre articles all in one place would be by calling this API endpoint: GET /api/v2/help_center{/locale}/articles as described in our documentation https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles. Please remember that this call won't return any articles that you've already deleted as they're no longer on your account.
For the articles that are in draft or archived, they'll still be visible for you, however, the end-users won't be able to access them. If an end-user opens an article URL that has been archived, they'll see the "oops" error page on your Help Centre. This page is built on the error_page.hbs template that you'll find on the live theme in Guide. If a user opens an article URL that has been unpublished, they'll be asked to authenticate (if they're not logged in) and then get the "oops" page. In this case, there's no option to redirect them to a different URL as they won't be able to see this article. You might want to publish these articles and then add a custom code to the template to redirect the users to another article.