Interspace Links

I have another tricky scenario with links and I hope someone can help me out please.

Say I have two spaces: A and B. Page a in space A has a link to to page b in space B. I create a new space C, and move both page a and b to space C.

This is what I want: When I click the link in page a which is now in space C to direct to page b in space C.

Is this possible?

Any clue will be really appreciated.

5 answers

0 votes
Paul Curren Atlassian Team Jul 11, 2012

Hi there.

The behaviour you describe is exactly what should happen.

The first move of page a to space C does not invoke any link refactoring. The link to page b was always absolute (e.g. [B:b]) and will remain valid even from space C.

The second move of page b to space C will cause link refactoring to modify page a so that it's link now becomes [C:b].

Hey Paul,

Thanks so much for your answer. Although this is how it should happen, it does not happen this way :(

I tried this scenario:

  1. Page a in space A has a link to page b in space B
  2. I move both a and b to space C
  3. From space C I click the link in page a
  4. Unfortunately, I get directed to B:b insteaad of C:b

What am I doing wrong? I use Confluence 4.2.2

You are using internal linking and not plain hyperlinks?

When you say you get directed to B:b, what happens when you land there? It should redirect you to the new location and tell you it's moved?

Paul Curren Atlassian Team Jul 15, 2012

I can't think of anything you are doing wrong. It sounds like are encountering a bug.

I can't reproduce the problem - it seems to work fine for me. Is there anything being shown in your server logs that might help explain the problem?

In addition, do you have any 3rd party plugins installed that may be interfering with the link refactoring process?

Hi Nic, Nope I do not move the page. I copy the page and move it and rename it. So the original page is always there in space B.

Argh! Then why did you tell us you were moving it when you're not?

It's doing exactly what it should be doing, page A points at page B which has NOT moved. So there's nothing for confluence to update.

Thanks for the reply Paul. I am using internal space to space linking. Not hyperlinks. I have third party plugins installed like "copy space", "Tech time's Easy SEO", "copy page tree" etc.

I am not sure how they can interfere with the linking though.

Thanks Nic, Nope I do not move the page. I copy the page and move it and rename it. So the original page is always there in space B.

Paul Curren Atlassian Team Jul 17, 2012

What do you mean by copy and then move?

If you take a copy of Page b then this is a whole new page. Lets call it Page b2.

Page a has no reference to this page. So if you move b2 this will have no effect on page a at all. They have no relationship.

I think you might be better breaking down for us in a step by step fashion exactly what it is you are doing and then we might be able to understand the behaviour you are experiencing.

Thanks for your help guys, I think the problem is because I copy, move and rename. :(

Suggest an answer

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

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

327 views 2 4
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