How to add a redirect?
Version 3.1 by Paul Panțiru on 2024/10/18
You have 3 options:
- Add an xobject of type XWiki.RedirectClass and put the reference to the page to redirect.
- Use a script to redirect to another page, using the
$response.sendRedirect()
API. - Use the Redirect macro extension .
Note that removing a redirect is hard, learn how to do it here.