Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

cross-page links including anchors

I'm trying to link from a page into another page (using an anchor), following the documentation , but I'm encountering a couple of problems:

1. case:

My target page contains a TOC, so I'm copying the link to the target section, then, in the "insert link" popup, in the "advanced" tab, paste that as URL. (Saving this works fine.) As the URL is absolute, but I do want an "intra-space" link, I'm editing the URL to remove the the prefix ("http://confluence/display/~sseefeld/") to only follow the schema "<page name>#<anchor-name>"

This no longer works, as it appears as if Confluence would automatically prefix the link with "http://", so I get an invalid link.


2. case:

Rather than using an existing anchor from my target page, I'm adding a new anchor to my target page using the anchor macro. Contrary to the advice given in the above referenced documentation, the real anchor name isn't the name I gave when using the macro, but is a long name including the page name.

Trying to use a link following the <page-name>#<anchor-name> also yields an invalid link as it appears as if Confluence injects a '/' between page-name and anchor-name.


Any advice on how to proceed ? (I really do need relative intra-space links, as both pages are part of a "document" (Using the Scroll Document plugin), and I want the link to be handled correctly when exporting the document to PDF.


1 answer

0 votes
Brant Schroeder Community Leader Oct 05, 2021

@Stefan Seefeld Welcome to the Atlassian Community.  

There is not a good way to create relative links.  Navigation Macros kind of work this way like the table of content macro.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events