Linking to an anchor
How add anchors on pages across your site
Linking to an anchor takes a user directly to a specific place on a page.
You must create the anchor (using the Confluence Anchor Macro), before you can link to it.
Internal Links
Link to an anchor on a page
On the same page
To link to an anchor on the same page, open the link option in the editor and choose the "Advanced" option. Use "#" before the anchor name (case sensitive) to create the link to the an on-page anchor.
This link is an example of linking to an anchor on the same page. It will take you to the "Next Step" section at the bottom of the page, where an anchor named "Next" is located.
On a different page
To link to an anchor on another page, you will need a specific syntax.
This link is an example of the following syntax for linking to an anchor on another page:
The page name is repeated in the URL after the "#" (without any spaces or punctuation), and then followed by a dash and then the name of the anchor.
Special Characters
If the name of the page you are linking to contains special characters, where the URL displays a page ID rather than a name, the link to an anchor will be a combination of the page ID and the page name, as follows:
For the page "Test - page 1!" containing a tab named "anchor" the URL will look like this:
UTF-16 Characters
If the page name contains UTF-16 characters (eg. Simplified Mandarin, Katakana) then it is necessary to add "id-" into the URL before the second instance of the page name, as follows:
For the page "ページ" containing a tab named "High Level Comparison", the URL will look like this:
Note: You can retrieve the page ID from the address bar when the characters are not ASCII.
External Links
Link to an anchor