Empty folders on exports / Purge all redirects

Good morning,

I would like to delete all redirects in my wiki farm.
I found about /xwiki/bin/view/XWiki/RedirectClass but the delete button is not allowing me to delete any of the redirect.

Is there another method to delete all redirects? I would like to purge them all because when exporting content, there are many empty pages/folder which only role is to provide redirect.

I search for a method to delete all page redirects from my farm.

Kind regards,
jm

Hello, maybe this can help: https://www.xwiki.org/xwiki/bin/view/FAQ/How%20do%20I%20remove%20a%20redirect

See also https://snippets.xwiki.org/xwiki/bin/view/Extension/CleanPagesWithRedirects/

Hi Vincent,

Thanks for the hints. I could solve my problem as the page /xwiki/bin/view/XWiki/RedirectClass started “working” again and accepted deleting the redirects… Maybe xwiki updates unstuck something.

Used selenium to automate deletion.

Thanks and best regards