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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

151 views 8 11
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