Links to anchors in other pages does not work

Lars Sjögren November 13, 2011

Hi,

A user asked me the other day how to link to specific locations in a page. I pointed out the Confluence User Guide section that deals wiht this and he says that he followed it but cannot get links to anchors in other pages to work (links ot anchors within the same page works fine). Sure enough, neither could I. We follow the instructions and use the specified syntax for anchor:

{anchor:anchor}

And link:

[pagetitle#anchor]

What happens is that the correct page opens, but at the top of the page and not at the anchor position. I read somewhere in the Forum that some IPhone plugin could cause problems, but we don't have that installed. We eun Confluence 3.4.9.

Regards,

Lars

5 answers

1 accepted

2 votes
Answer accepted
Lars Sjögren November 15, 2011

Thanks for your suggestions. I've tried them all but without luck.

After posting this, I tried what I should have tried from the very start (which is something one would not think one would have to try since this is supposedly a good and solid application): I tried another browser. And it works fine! Originally, I used FireFox since that's the browser I am using. Then I tried in IE and all the test links I created using FF work fine.

Thanks again for your help though.

Gregory Sudderth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2011

No worries! That's so weird that its FF that's broken! File it!

1 vote
mattcobb October 5, 2018

It no longer works on any browser:

 

https://jira.atlassian.com/browse/CONFCLOUD-62589

 

Please up vote it

0 votes
Gregory Sudderth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2011

Culprits:

- Permissions

- Space Key: I had problems with older confluence when there were weird characters (punctuation) in the space key...I have no idea how they got there as you can't create spaces with those characters

- Title of document: Try something simple, single-word and see what you get.

- Spaces: Are the two documents in the same space?

- Character Set: are there any non-ASCII-generic-"American" letters in the anchor, title, or space keys?

Good luck!

0 votes
Lars Sjögren November 14, 2011

This is the syntax I'm using and it doesn't work. Any other clues as to why this doesn't work?

0 votes
Gregory Sudderth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2011

Ok, let's say you have two documents, Moe, and Larry.

In Larry, you make an anchor:

{anchor:secondpageanchor}

And in the Moe document, you have this link:

[Larry#secondpageanchor]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events