Confluence: Can you make links relative to the current space? (i.e. this.space vs the name)

Hello!

I am trying to use content from an existing space to create another. For multiple excerpts I know I will need the plugin but another problem I have is that any internal links are linking to the "origin" space.

E.g.

  1. Space B is an exact copy of Space A, with some additions, using the "Include Page" macro. 
  2. Page 1 in Space B has a link to Page 2.
  3. Clicking the link in Space B directs you to Page 2, but in Space A since the link is static to the origin space.

I need the links to be relative to the space it is being "called" from. Manually copying/pasting the data is not an option because I need Space B to update whenever something in Space A changes. Also, I know that I could excerpt "around" the link (one before and one after) with the multiexcerpt plugin and manually change the links but there are thousands of links so I hope there is a better way.

Does anyone have a good way of going about this or is it just a limitation of Confluence? 

Thanks! I look forward to chatting about this.

3 answers

Hi Evan, I hope you find an answer because I have essentially the same problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

225 views 0 6
Read article

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