Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×The Link has problem when it comes to link to the anchor on the same page.
1. Newly added Link cannot link to the anchor on the same page, but can link to the anchor on other page.
2. I click on a Link which used to link to the right position where the anchor was placed on the same page, but now it goes nowhere.
Server OS:Server 2019
Confluence :7.8.1
Hello @fineart fineart .
Adding Anchor with anchor1 id and linking to it as you showed above works.
Could you please show how the Anchor macros and where is added on the same page?
What formatting does the text have next to the Anchor macro?
Thank you
Hi Andrii,
I think we have the following problem here: Since the new version 7.8.1 the page name is placed before the anchor IDs.
So the anchor name points to "anchor1", but the ID name is "site1-anchor1".
Therefore no more anchors can be found.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply.
The link in the format ".../SpaceKey/PageTitle#PageTitle-ANCHOR_ID was even in 6.X.X Confluence versions, so it is added automatically on the page rendering level. I checked on 6.11.0 and the way @fineart fineart described above works fine for anchors.
So the Page title is added automatically to the anchor links and behavior is pretty the same.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the feedback! Maybe this feature has been around for a while, but when I set the link to the anchor, no spacekey/pagetitle info is added to the link. This info will be added to the anchor. That's why it can't work - the link won't find the anchor.
Link:
Anchor:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for additional information.
For now, could not face the same behavior even switching to Deatsch for interface and Page/Anchor namings.
The general Anchors docs (https://confluence.atlassian.com/doc/anchors-139442.html) page gives some notes on symbols and special cases in the anchor and page names. Maybe some umlauts or slashes in names cause this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry it doesn't work. I've tested it without special symbols and umlauts. Can I send you some logs our something you need to find the problem.
Here is the editor-source-code:
<p>
<ac:link ac:anchor="anker">
<ac:plain-text-link-body><![CDATA[1]]></ac:plain-text-link-body>
</ac:link>
</p>
<p>2</p>
<p>3</p>
<p>4</p>
<p>5</p>
<p>6</p>
<p>7</p>
<p>8</p>
<p>9</p>
<p>10</p>
<p>11</p>
<p>12</p>
<p>13</p>
<p>14</p>
<p>
<ac:structured-macro ac:macro-id="82c2689e-1a6d-48ed-8904-d3b12f553f39" ac:name="anchor" ac:schema-version="1">
<ac:parameter ac:name="">anker</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
And the final source-code:
<a href="#anker">1</a></p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>12</p><p>13</p><p>14</p><p><span class="confluence-anchor-link conf-macro output-inline" id="TEST-anker" data-hasbody="false" data-macro-name="anchor"> </span></p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrii,
Thanks for the reply.
1.how the Anchor macros and where is added:
Click the + on the toolbar > select Other Macros > Click Anchor Marcro > Enter anchor name
2.What formatting does the text have next to the Anchor macro?
Paragraph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@fineart fineart , @Marco Hölzemer ,
For now, from my side I cannot reproduce this.
Will try some more options and get back to you.
Sorry, that cannot help with it at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @fineart fineart @Andrii Maliuta ,
the problem is solved. Just install version 7.8.3:
https://jira.atlassian.com/browse/CONFSERVER-60444
KR, Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are still having trouble check your anchor name. If it has spaces, the system will automatically put dashes in between.
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.