Maintaining external hyperlinks when renaming Confluence server

We had a small Confluence instance that was used by a single division of the company and we migrated to a new instance that is for the whole company. As part of these changes the basic url was changed from confluence.X.com to confluence.Y.com where X was the division name and Y is the parent company name. We set up a redirect so that external links would continue to function, but they don't.

If you click on a link that points to the old server the user is brought to the new server (so that part of the redirect is working) however, the user is presented with their default page (ex. space directory) instead of the page they want.

Is there a way we can fix this?

If it can be fixed, will it work for urls that specify the page id as well as those that have the page title?

 

Regards,

Ramsay

2 answers

1 accepted

0 votes
Accepted answer

On a similar scenario we used a transparent proxy to achieve such functionality. It is not optimal though as weird things can happen with the base url.

My problem was caused by an incomplete configuration of the proxy

When I created the Vhost, I forgot the $1 variable which means all info after the server Name.

Before
ServerName confluence.accovia.com
.
.

RewriteRule /(.*) https://confluence.acceo.com



NOW
ServerName confluence.accovia.com
.
.
RewriteRule /(.*) https://confluence.acceo.com/$1

I look forward to finding out what kind of weird thinks can happen with the base url smile

Being a while, but try uploading a plugin using the non configured base url.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,058 views 16 14
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you