Writerside
 
Get Writerside

Redirect to other content

Last modified: 13 June 2024

When you remove or rename a topic, your readers might encounter the 404 error page when opening a previously published URL. To avoid this, Writerside suggests adding redirects from the previous web file name to another topic.

Redirection rules are stored in the redirection-rules.xml file and have the following syntax:

The accepts-web-file-names-ref attribute on a <toc-element> ensures that all applicable web file names from the corresponding redirection rule will be redirected to this entry in the table of contents:

In the previous example, all links to introduction.html will redirect to the web file generated from getting-started.topic.