It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to create a relative (vs. absolute) link inside a Confluence doc?

In a doc created using either the legacy editor or the new editor, if I copy that document with internal links to a section heading, and I want the copy to have its internal links to link to sections in the doc copy (not the original doc), how do I specify that in the original?

For example:

Doc A has internal links to a section of the document. I copy Doc A and call it Doc B. I want all internal links in Doc B to point to Doc B, not Doc A. Is there a way to do this in Doc A, so when I copy it to Doc B, all internal links in Doc B jump to the current document and not Doc A (without changing every link in Doc B)?

1 answer

0 votes
Jessica Atlassian Team Feb 01, 2020

Hi @Efleda Brophy

I've accomplished this by using the table of contents macro and using a consistent heading structure for each page. 

The table of contents macro will automatically create internal links to sections that use a heading format and you can even specify the levels of headings. 

Screen Shot 2020-02-01 at 10.51.20 AM.png

Let me know if that works for you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,411 views 6 6
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you