Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,141
Community Members
 
Community Events
165
Community Groups

redirect from old confluence server URLs

I have migrated my self-hosted Confluence Server to Confluence Cloud.

I would like the old URLs to work in case people have saved bookmarks, emails and so on. Does anyone have some redirect rules that would work?

I have not been able to find a pattern. Some of the URLs I have are

/confluence/dashboard.action

/confluence/display/WA/4P12.01

(WA is a space, 4P12.01 is a page). On Cloud the pages all seem to have a page number in them which is not in the Server URL.

2 answers

1 accepted

1 vote
Answer accepted

No, I'm afraid Cloud has this stupid scheme where it inserts the id into the url, making a nonsense of the "page name is the easy way to build a url" idea.

To do what you're trying to do, you'd need to build an indexing system, something that can work out what the id is and build the new url to be redirected to.

Thanks. What I ended up with is redirecting some links to the search page, and the rest to the Confluence home. That will be good enough.

For Apache:

RedirectMatch /confluence/display/.*/(.*)$ https://<site>.atlassian.net/wiki/search?text=$1
RedirectMatch /confluence/(.*)$ https://<site>.atlassian.net/wiki/

 

Fortunately the Jira URLs are easier to redirect.

As answered in another question, Confluence Cloud will automatically redirect pages with names to pages with IDs.  See the following answer: 

https://community.atlassian.com/t5/Confluence-questions/Post-migration-to-the-cloud-Redirection/qaq-p/1118935

Note: I only just found the answer and I do not know anything about the nature or performance of these redirects.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

154 views 1 3
Read article

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