Linking to specific place of page


I have a question about links. I need a link to a specific place of another page but i can't use anchors or headings because is necessary to input pagename - if i change pagename or heading name link will break.

Can you give me advice how to create unbreakable link to heading in another page?

Thank you.

2 answers

1 accepted

1 vote
Accepted answer

You'll get a permalink if you link to the page by page-ID.

You can get the page ID by going to Tools>Attachments on a given page and looking at the page ID in the URL. It will be something like:

https://[base-url]/pages/viewpageattachments.action?<strong< a="">>pageId=1234567890

Then get the permalink for the page using this format:


No, i'm trying to get permalink not to page but to specific place of another page.

I can't use anchors because link to anchors have syntax: "page name#anchor name".

If i change "page name" link will break.

I need link like something this: "page-ID#anchor". Does such links exist?

Damn. You're doesn't work if you do "page ID#anchor name."

I assume you've looked at the anchor macro?

Thank you for link. But i wrote her and did not find answer for my question. I asked product advocate team lead and he said this function is not supported at the moment.

I hope to see links like "page_ID#anchor name" in near future.

Bill, thank you for your time.

I have solved the problem by using what it known to be working: I have added a test link to the anchor in the same page where the anchor was defined. 

After updating I clicked on the test link and it correctly jumped to the anchor but showing in the address bar the whole required link: .....pageId=xxxx#<page-name-without-space>-<anchor_name>

Whatever version you have, this way you will get the link you need.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,565 views 26 14
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