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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,231 views 6 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot