Are there any way to generate a share link URL with anchor as a permalink?
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.
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?
Is it possible to create a permalink to a confluence page, e.g now my URL depends on the page title, if my page title was to change, my URL changes too.
I want to link confluence page in email templates, and in order to avoid manual (impossible) updating in the future, I just wanna create a permanent link for each page so even if I change the title, the URL doesnt change?
The original question here was related to using anchors with the permalinks but your question doesn't mention them.
Are you trying to link to a specific page, or do you want to link to a section on the page?
If you just want to link to the page then you just have to use the tiny link. You can find this from looking at the page information.
Let me know if you have any questions.
I think Tamas is looking for a permalink without the page name, pointing to an anchor.
For instance, using your example: https://confluence.atlassian.com/x/siAC#Createtheanchor
That does not work, unfortunately. Is there any other way to skip the page name?
My original reply was testing the Tiny Link (I believe this is what you mean by permalink?) with an anchor. Your example is of my working example from back in 2017.
At the time of that message, it was working properly in Confluence Server, but it's been a few years since then.
If it's not working in Confluence Server for you, please raise a new question and include your current Confluence version. Then we can have a look at that issue with the more recent versions of Confluence.
If you are on Cloud, this feature is not working at this time:
In addition, linking to an anchor on another page will not work, due to this bug:
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events