From version 2.2
edited by Vincent Massol
on 2017/09/06
To version 3.1
edited by Gunter Ohrner
on 2019/06/26
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.GOhrner
FAQCode.FAQClass[0]
answer
... ... @@ -1,3 +1,31 @@
1 += Introduction =
2 +
3 +A page representing (or containing) a "redirect" will automatically forward you to a different URL if you try to open it.
4 +
5 +As you're immediately redirected from such a page, removing or editing the redirect requires specific procedures.
6 +
7 +Modifying or deleting the [[different types of automatic redirects>>FAQ.Adding a redirect]] XWiki supports require different approaches.
8 +
9 += Removing Macro-based Redirects =
10 +
11 +Removing Macro-based redirects again, once added, [[can prove to be difficult if your default editor is the WYSIWYG CKeditor>>https://jira.xwiki.org/browse/XWIKI-4211]]. In this case, the macro will even be executed in edit mode, redirecting you do to the target page before you have a chance to remove or alter the redirect.
12 +
13 +So if your default editor is the WYSIWYG editor, and you want to edit a redirect on the following page:
14 +
15 +{{code language="none"}}
16 +https://xwiki.example.org/xwiki/bin/view/Main/
17 +{{/code}}
18 +
19 +You manually have to change the URL as follows:
20 +
21 +{{code language="none"}}
22 +https://xwiki.example.org/xwiki/bin/edit/Main/?editor=wiki
23 +{{/code}}
24 +
25 +This will cause the wiki text editor to open with the page's source code and the redirect can be edited or removed without any problems, even if your default editor is the WYSIWYG / CK editor.
26 +
27 += Removing ##XWiki.RedirectClass## Based Redirects (e.g. Automatically Generated Redirects) =
28 +
1 1  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.
2 2  
3 3  However, we're currently [[missing a Redirect Management UI>>https://jira.xwiki.org/browse/XWIKI-13385]] to be able to see all redirects and perform actions on them, such as removing some redirects.

Get Connected