Permalinks with anchor

Are there any way to generate a share link URL with anchor as a permalink?

  • Instead of using naive URL pages/viewpage.action?pageId=... , share link URL is recommended to share because pageId will be changed as page version incremented. Share URL is permalink for the page.
  • To navigate specific position in page, anchor which ToC macro generates is used.
  • Regarding both, I'm searching for the way to generate a share link URL with anchor like https://confluence/x/cYTy#some_position_in_page

1 answer

1 accepted

1 vote

 

Hello Ryota,

It's not possible to automatically generate the link, but you should be able to simply add a hashtag # and the name of the anchor after the Tiny URL, as in your example.

So:

Let's take a tiny URL for one Atlassian page: https://confluence.atlassian.com/x/siAC

If I take the hashtag and anchor name from that page (#Anchors-Step1Step1:Createtheanchor) and add it to the tiny URL, you end up with the tiny URL which has a working anchor tag: https://confluence.atlassian.com/x/siAC#Anchors-Step1Step1:Createtheanchor. This URL will now lead you to the anchor in that page, as you can check with this example.

Are you able to link to your anchors in this way? 

Kind Regards,
Shannon

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 Tuesday 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 ...

377 views 16 9
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