How best to link to headings

In Confluence 4, I can type [ and it lets me search for pages in my Confluence to link to, which is great. But how then do I link to headings on that page? So far, the only way I have found is to manually copy the entire URL and link to that. I was hoping the fancy search function could root out headings within a page too.

4 answers

This widget could not be displayed.

This can be done by going through the 'Advanced' tab in the 'Insert Link' dialog as described in this page:

http://confluence.atlassian.com/display/DOC/Linking+to+Pages#LinkingtoPages-LinkingtoanAnchororHeading

Confluence, please allow every heading to have its own anchor as part of the heading feature itself. Like Asciidoc. Adding anchors manually is annoying.

This widget could not be displayed.

My version of Confluence (3.4.7) does not include an 'Advanced' tab in the 'Insert Link' dialog.

I can insert the link to a heading using the heading name in the 'Web Link' -> 'URL' field.

Each heading item has an id attribute that you can append to the url of the page to link directly to a heading.

However you don't need to use the page url, you can do it with the page name and wiki-markup, eg:

[My Page Name#MyHeadingId]

https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html#ConfluenceWikiMarkup-Links

This widget could not be displayed.

Hi,

Best practice to use the anchor macro. This creates an anchor inside the page, which can be hyperlinked as documented at https://confluence.atlassian.com/conf68/anchors-947170225.html

I referred to this as best practise as you will have to specify a key for your anchor which will not break if you adopt the heading in the future - links will still work.

Best, Tobias

This widget could not be displayed.

Anchor links allow readers to jump to a specific part of the page. If your article is really long or text-heavy, consider creating a table of contents or index using anchor links for quick navigation. 

 

any problem with Belkin router click on this  

www.belkinroutersupportnumber.com/

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

285 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you