The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Efleda Brophy
Contributor
January 29, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Jessica
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 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!

Efleda Brophy
Contributor
February 28, 2022

Thanks, Jessica. Just viewed this reply.

TAGS
AUG Leaders

Atlassian Community Events