How do I remove a redirect?
Version 2.2 by Vincent Massol on 2017/09/06
When moving/renaming pages, you have the option to create redirects for the old location so that users hitting the old page would be redirected to the new location.
However, we're currently missing a Redirect Management UI to be able to see all redirects and perform actions on them, such as removing some redirects.
While waiting for a proper Redirect Management UI, here's a workaround:
- Turn on "hidden" documents in your profile preferences
- Navigate to the XWiki.RedirectClass page in your wiki. For example: http://localhost:8080/xwiki/bin/view/XWiki/RedirectClass##
- This will list all redirects found on your wiki, with the ability to delete each page (you'll need to have the proper right to see the "delete" action of course).
Here's an example from xwiki.org:
Another option to delete a redirect page is to hand-craft the delete URL manually (find the view URL and replace view by delete) but this is more complex and you'd need to understand the Standard URL Format.