Set up 301 and 404 Redirects For Retired Knowledge Articles

Manal  AQUIL
Tera Contributor

Hi Community members,

 

As per below URL, we have new feature in Tokyo for knowledge: Ability to set up 301 and 404 redirects for retired articles.

 

https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/product/knowledge-management/conce...

 

So far I have explored that in Tokyo, on click of retire button it will pop up a window which will ask us to add a replacement article . But despite adding replacement article, when I try to search for retired article in knowledge portal it doesn't redirect to replacement article. 

 

Kindly, help me navigate how to setup 301 redirection to replacement article when we search for a retired article in portal which is attached to replacement article otherwise it should redirect to 404 record not found.

 

Regards,
Manal Aquil

1 ACCEPTED SOLUTION

Hi,

After reading through the documentation, again, and then testing things within my own Tokyo instance. I can say that the functionality for redirection when accessing a retired article, that has an article specified in the "Replacement Article" field, does work and redirect to the selected article.

 

When an value is not selected for the "Replacement Article" field and you access that retired article, if you have higher level permissions (like admin), you'll see the retired article, if you don't  have higher level permissions, you'll see an error message that you can't access the article.

 

The above outcomes align to what I read in the documentation. The notes about the 301 and 404 codes do not state that they would be redirected to a 404 page.

 

So in the end, if a value is selected for the "Replacement Article" field, it'll redirect you. If no value is selected, then the behavior is that it tries to show you the retired article and if you don't have the correct permission to see it, you won't see it and instead see an error message, somewhat like what is mentioned in the documentation.

 

If you're expecting any other functionality and you feel there's a bug or issue with the platform, please submit a ticket to SN Support for further assistance. Otherwise, I'm glad I could answer your question and provide guidance which in turn resulted in you creating an article with a video to show others how it works, as I've mentioned above.

 

Take care! 🙂

 

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

17 REPLIES 17

Hello - we found that if you are using a cloned version of their widgets related to this, they don't receive the upgraded functionality.

Awesome, this is the catch ! Thank you !!

Rathna Chengalv
Tera Contributor

How to make the redirection work even in service portal (sp) not just native /classic view .. any ideas please help