How to link pages to twin in a new instance?

Thomas December 14, 2020

Our mother company has introduced Confluence, so we moved all our spaces from the previous, local Confluence (https://small.confluence.instance) to the new central server (https://big.confluence.instance) via XML export/import.

We removed write access to the old instance, but we still have a lot of Confluence links in external documents/systems so users end up looking at the old pages. Is it possible to magic something (say in custom HTML) that refers to the new page? Like a big red ribbon on top of every page https://small.confluence.instance/some_page reading

"this confluence page has moved to a new server, please update your references. New link: https://big.confluence.instance/some_page"

?

I think the best I could do (with my almost non-existant scripting abilities) is to insert a custom header that links to the new space. But it would be really neat to have a link to the page within the space.

I do have Confluence admin access to the (old) instance, but no low level (SQL) access. So I can create global custom HTML or change space-local headers and sidebars.

1 answer

0 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2020

Did the space names/pages stay the same? Is there only one piece of the URL (the server name) that is different?

Thomas December 16, 2020

The nternal structures do differ, for example space IDs and different user IDs.

If I look at a page (https://server/display/page_path) only the server part is different. But if I look via pages/viewpage.action?, the address is different.

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 18, 2020

Hmm. If it was just server name that would not be that hard to create something that would give you a link to the new server. However, pages that have special characters in the title would not work as the content id's are different between the systems.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events