Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,808
Community Members
 
Community Events
165
Community Groups

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

1 accepted

0 votes
Answer accepted
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!

Thanks, Jessica. Just viewed this reply.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

388 views 2 13
Read article

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