The issue you are describing is http://jira.xwiki.org/browse/XWIKI-13354 (fixed in 8.2).
On Tue, Aug 2, 2016 at 9:54 AM, <[email protected]> wrote: > Hi, > > I have trouble renaming pages because of an old redirection on my 7.4.2 > XWiki instance. > > I'll try to summerize how it happened : > - First, a wiki page called "Framework" with a lot of subpages was > created. > - Then, the users wanted to rearrange the subpages so they created a copy > which they named Framework.new > - When they where happy with the new page, they renamed the initial > Framework page in Framework.old. > - Trying to rename Framework.new into Framework failed > > My problem is that by default, when you rename a page (in this version of > XWiki at least), the checkbox "Redirect to new page" is checked, > effectivement creating a HTTP redirect when users are still using the old > link. I understand the advantage of this method : you can have the page > renamed without breaking the existing links. > > But now Framework.new can't be renamed in Framework, as the > Framework.WebHome URL points to Framework.old.WebHome. > Even if I remove all the pages from Framework.old, I still can't rename it. > That's not what you need to remove. When you renamed "Framework" to "Framework.old" XWiki left behind a blank hidden "Framework" page that does the redirect to "Framework.old". Same for all the child pages of "Framework" (that have been moved as a consequence of the rename). So you need to delete the "Framework" page and all its child pages (NOTE: that is not the original Framework page but the one XWiki left behind to do the redirect). Check my last comment on http://jira.xwiki.org/browse/XWIKI-13354 to see how to do that. Hope this helps, Marius > > Is there a menu/velocity script to remove these redirections ? > > Thanks in advance > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
