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

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.

0 vote
DimMai I'm New Here Mar 26, 2018

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,020 views 23 13
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