This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.

Working with Anchors

Skip to end of metadata
Go to start of metadata
All Versions
Table of Contents


Anchors allow you to link to specific places within a page. Anchor links can be especially useful when navigating between sections of a long page or when you want to link to a segment of a page and not to the page as a whole.

Anchors are made up of two parts:

  • The link
  • The content to which you are linking.

In Confluence, you can place an anchor in a page using the anchor macro. This creates an anchor called "here", but you can substitute this with whatever name you like.

Anchor Macro

Once an anchor is in the page, you can link to it by putting #here (or whatever anchor name you choose) at the end of a link pointing to that page.

For example, there are two anchors in this page called "top" and "bottom", which you can link to like so:

These links come out like this: top bottom.


Linking to an anchor in the same page


Linking to an anchor in another page


Linking to an anchor in a page in another space


Linking to headings

Confluence treats all headings as anchors. So you don't have to place an anchor but simply link to it like this:

Warning

Page titles and links to other spaces can be combined with anchors and attachments, but you can't use attachments and anchors in the same link.

RELATED TOPICS

Working with Links Overview

Take me back to Help Home

Labels
  • None



Log a request with our support team.



Raise an issue for our developers.



See answers from the community.



Tweet, blog and update our documentation.

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.