TOC Macro interferes with Links to Headings

I want to link to a heading far below on a Confluence page. This page also contains a TOC macro at the top.
The link pagename#heading jumps to the heading listed in the TOC macro, not the "real" one down the page.

Am I doing something wrong or is this a bug?

4 answers

1 accepted

0 votes
Accepted answer

Finally, I found out that my problems linking to an anchor probably are due to a plugin we're using.

You can try inserting an anchor right before your heading with a different name and link to the anchor instead.

More info in: Working with Anchors.

I already tried this, but apparently I'm suffering from a Firefox bug now. Firefox 17 jumps to whatever position on the page, but not to the position of the anchor. It works alright with IE9, however.

Hi ,

I just faced the similar problem .

Please make sure Headers are not under any macro.

it will work or if your using 4.0 higher version make sure headers are put in the editor not in wiki.

all d best.



Thanks for your reply, Tousif. But I think my problems are coming from above mentioned Firfox bug.

I think that you're facing this bug:
Which version of Confluence you're running? It seems that in Confluence 4.3.X this problem was fixed.

I hope this helps.



Thank you, William, but we are using Confluence 4.3.1.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

460 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you