It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Post migration to the cloud - Redirection

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

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

Hi Ramona, 

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

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

Cheers,

Ramona

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

We created a httpd rule to forward as follows:


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

Like asser likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

5,966 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you