Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Links to Anchor in another page does not work.

Matt Suderman December 3, 2015

This question is in reference to Atlassian Documentation: Working with Anchors

 

The page is "D2 - Name Edit"   the anchor is "NE_SM_SO"

I tried the Advanced link as described in the arcticle : Page Name#Anchor Name, D2 - Name Edit#NE_SM_SO

This is the link that it resolved to:

https://cpiappdev.atlassian.net/wiki/display/SRT/D2+-+Name+Edit#D2-NameEdit-NE_SM_SO

 

I tried the Web Link going directly to the page.

https://cpiappdev.atlassian.net/wiki/display/SRT/D2+-+Name+Edit#NE_SM_SO

 

Both links go to the top of the page.

2 answers

0 votes
Deleted user April 5, 2017

After checking how the TOC macro links to a heading, I noticed that there is an extra "id-" after the hash.  Inserting this fixed the Anchor Link.  It does not precisely get to your anchor but close enough to bring the content to the user's attention.

Sample of working Anchor:

http://myconfluence/display/spacekey/My+Page#id-MyPage-anchor_name

0 votes
Rodrigo Silva
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2015

Hi Matt, maybe this happens since the feature might be discontinued:

https://jira.atlassian.com/browse/CONF-39958

 

Cheers,

Rodrigo Silva

Mark Suggs September 5, 2019

If the feature no longer exists, why is there a topic that explains how to use it? https://confluence.atlassian.com/doc/anchors-139442.html

I wasted a lot of time trying to track down why my links weren't working. There should be an explanation on the page that you cannot link to anchors on another page. 

That sets a pretty poor example for an application that is geared towards documentation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events