Hi All,
I have found I can’t set a redirect from any wiki to any other wiki. using either of the options on this page.
I’ve also tried a few of the xwiki.cfg and xwiki.properties options here and have specifically specified both of the domains that I am tested between. We are using Domain based instead of Path based wikis and ShortURLs.
The redirects always point to the same wiki you are currently on, even when using absolute URLs.
e.g. from the sub wiki ‘test.wiki.domain.com.au’
$response.sendRedirect($xwiki.getURL('xwiki:TestPage.WebHome'))
or
$response.sendRedirect($xwiki.getURL('https://wiki.domain.com.au/TestPage/'))
both resolve too https://test.wiki.domain.com.au/TestPage/
Should redirects work between wikis?
And should they work with domain based wikis?