Hi, I love the anchor feature. However, my team and I are working in French. I realized that the "page name#anchor name" syntax for links is not working properly if the page name has special characters, like accented letters. The link simply redirects to the page. If I afterwards edit the link, the value becomes something like "Écran de recherche des données". If I then save it, it completely stops working.
Anyway, I was simply wondering if there was a way to link to an anchor with a syntax that is not using the page name. If I am not wrong, we are using the version 1000.0.0.
Thanks.
I am afraid you will have to make some changes in the target page as well for this. In the target page you will have to create anchor where to you to point your link to. Normally the headings work as anchors but because of special characters you will have to create anchors manually. Here is how to do it:
Add the Anchor Macro to mark the location you want to link to:
- Do either of the following in the Confluence editor:
Choose Insert > Other Macros, then find and select the Anchor macro
Type { and the beginning of the macro name, then select the Anchor macro- Enter the Anchor Name (For example, 'bottom' or 'important information')
- Choose Insert
Now in the source page you can do this:
Link to an anchor on the same Confluence site:
- Select some text or position your cursor where you want to insert the link
- Choose Link in the toolbar or press Ctrl+K
- Choose Advanced and enter the anchor name in the Link field, following the format below.Anchor location Link syntax for anchor Examples
- Enter or modify the Link Text (this is the text that will appear on the page. If this field is left blank, the page name or URL will be used as the link text)
- Choose Save
Complete description of this is given here - https://confluence.atlassian.com/doc/anchors-139442.html.
Hi. Thank you for your reply. However, the problem does not come from headings with special characters; we already use anchors and there are no special characters in their name. I think the problem rather comes from page titles with special characters. As I mentioned, links to anchors in these pages simply redirect to page. I thought there might be a workaround with page URL or something like that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried a couple of options but none of them are working right now. I have tried to look into HTML5 w3 standards also. But found that any character is now supported in anchors. HTML4 had issues. So it should actually work. I'll explore more. This is an interesting problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are now in 2025 and this is still an issue. Will this be adressed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.