Automatically redirect when you update an article's URL

When you change the permalink of an article, what happens when someone navigates to that old URL?

If you use the Old Links feature, they'll be seamlessly 301-redirected to the new URL. You have two options for using old links:

  • Adding old links manually
  • Turning on a setting that checks if you've changed the permalink and asks you if you want to add the old link

Here, we talk about how to enable automatic permalink detection/old link updates.

With this setting turned on, if you edit an article or category to change its permalink, when you Save your changes, you'll be prompted to add the permalink you just removed as an Old Link automatically. This saves you work and keeps your content redirecting smoothly.

This setting is turned on in new knowledge bases by default. If you have an older knowledge base, we recommend you use it too!

To turn it on:

  1. Go to KB settings > Article editor.
  2. Under Content editor, check the box to Automatically prompt to create a redirect link when changing the content's current permalink.
  3. Save your changes.

With this turned on, once you edit a permalink in an article or category and Save it, a modal opens to ask if you'd like to add the previous permalink as an old link:

A sample modal for a permalink change. The text reads "The permalink for this article has been changed to in-app-help. Would you like to add use-the-help-menu as an old link?" The modal presents Yes and No buttons.Sample permalink changed modal

If you select YesKnowledgeOwl automatically adds the old link for you.

If you select No, no old links are created.