Post migration to the cloud - Redirection

James Palmer June 27, 2019

I have recently completed migration of our on Premise Confluence instance to the Atlassian cloud. I did this on a Space by Space basis with export and import (there were reasons for this). 

What we now want to do is to set up some sort of redirect from the old instance to the new one so that people are not forced to fix their links/bookmarks. 

This isn't quite as simple as that though, because the URLs of the new site are different to the old site. An example: /display/WBP/Beckelmann becomes /wiki/spaces/WBP/overview. 

We have used the REST API to build a mapping of the pages, but I am struggling to work out the best way to implement that. Has anyone had any experience with this, or got a guide I could read? 

1 answer

2 votes
Ramona Scripcaru
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2019

Hey James,

Hope that everything went well with your migration!

Indeed, the URL is different, but this should be doable if we take into consideration that in the cloud an URL of type:

https://sitename.atlassian.net/wiki/display/spacekey/pagename

should automatically redirect you to the new page in the cloud, which format will be:

https://sitename.atlassian.net/wiki/spaces/spacekey/pageid/pagename

e.g.:/wiki/display/WBP/Beckelmann -> /wiki/spaces/WBP/pages/pageid/Beckelmann

Can you please check this on your site and let me know if this works for you?

 

Cheers,

Ramona

James Palmer July 3, 2019

Hi Ramona, 

That's a really good tip. It definitely works as you suggest. 

Ramona Scripcaru
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2019

That is great news, James! Happy that I could help.

Cheers,

Ramona

Mohamed Lrhazi March 23, 2020

How can this be automated? How does one redirect any page to its correct new url  in the cloud version?

James Palmer March 23, 2020

We created a httpd rule to forward as follows:


Redirect permanent "/display/" "https://sitename.atlassian.net/wiki/display/"

Like # people like this
Aresky Bandera February 17, 2023

What about those links where the cloud page has a page id rather than a name?

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events