How can I create URL accessible to a specific heading?

sophie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 26, 2018

On facebook, we can generate link to direct post by long clicking the timestamp of the post.

Likewise, I remember in the old version of atlassian wiki, i generated link from the heading. 

But now I can't generate nor

1) external link from heading

2) or just link from heading inside attlasian page.

I tried https://community.atlassian.com/t5/Confluence-questions/How-best-to-link-to-headings/qaq-p/237427

and 

https://confluence.atlassian.com/doc/links-776656293.html#LinkingtoPages-LinkingtoanAnchororHeading

and

https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html

but I could achieve what i tried.

How can i do it? Thanks.

1 answer

2 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2018

Hi Woojung,

Easy Way: Insert a Table of Contents macro in edit mode, click on the macro, click Edit, and then you should have a list of links to all the headings that you can copy/paste.

Advanced Way: In your browser, you can right click on the header you want to link to and choose "Inspect Element" (요소 검사). Then in the console you will see something like id="pagename-headername". Double click on the text pagename-headername and then you should be able to copy it. Then in the URL bar you can type a # and paste the id text and if you press enter it will link you to the heading.

Note: When inserting in Confluence as an advanced link, you may have to remove the "pagename" part of "pagename-headername" in order to get the link to work, because Confluence adds the pagename part automatically.

sophie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2018

Thank you so much!

I tried easy way and it works exactly what I wanted. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events