Link
Asked by Tamara:

Hi!

I don't understand how to create a link between one word in a page and another one in a different page. :/

I have long documents and i don't want that readers waste time, so i'd like to insert this link, but i did it only once. I don't understand where is my fault.

(I'm sorry, i'm italian and my english is terrible)


Answers:
author: Tamara
body: Hi!

My boss installed Chrome yesterday! finally! okay I'll try everything and thanks you all! You are very kind (:

comments: author: Fabienne Gerhard
body: That sounds good - keep us informed what worked out :)


author: Max Foerster - K15t
body: That's a hell of a solution ? I will accept that answer right away. Been using Chrome myself. Glad to hear that this solved it for you. Stay active in the community if you have further questions, Tamara! :)


author: Fabienne Gerhard
body: ![giphy](https://community.atlassian.com/t5/image/serverpage/image-id/49027iDDFE5693E4F5597A/image-size/large?v=v2&px=999 "giphy")


author: Tamara
body: This Gif is perfect for my situation! I mean, IE? Seriously? in 2019?

I needed Chrome because Graphity didn't work with IE aaaand now I hope that everything is okay.

I'll write you back when i'll try!


author: Fabienne Gerhard
body: Great idea from [@Max Foerster - K15t](/t5/user/viewprofilepage/user-id/693014) - try it on the similar page :)

What could also help - try another browser ;) according to your screenshots you're using IE - not always your best friend


author: Max Foerster - K15t
body: I'm not sure what could be the issue here I used different anchors today across spaces (and also within tables) and they just work. So one thing you should do is test your anchor on the exact same page with a link. To see it if scrolls to the height of the macro element or not. It that's not working at least we shouldn't worry about space keys and page names. Then maybe looking at the content embedding the anchor macro (anything fancy?) or just deleting it and trying again ("Have you tried turning it off and on again?") could help. Sometimes Confluence is moody ;)


author: Max Foerster - K15t
body: Could you maybe post a screenshot of the link you're trying to configure and a screenshot of the page with the anchor in Edit mode? Just so we can maybe spot a small mistake. :)


author: Fabienne Gerhard
body: Hi [@Tamara](/t5/user/viewprofilepage/user-id/2883941) I had some problems with anchors, too

Check out that:

* you're using Spacekey and : when navigating to a different space

  ```
  spacekey:page name#anchor name
  ```

* Pay attention that there is NO space between before or after : and #
* There musst be a space in your page or anchor name if there is one in the name (write it the totally correct way)

Maybe you wanna try to link to a headline instead of an anchor (works the same way) - does this work?


author: JP _AC Bielefeld Leader_
body: Hi Tamara,

another valid \& best practice approach would be to split a long page in several sub-pages. The leads to faster loading times, users who can better recognize the content.

You might want to read:

<https://www.k15t.com/blog/2018/08/break-it-up-5-reasons-to-avoid-long-pages-in-confluence>

Citation:

f pages are too long, and readers need to keep scrolling to assimilate all the content, they'll soon lose the motivation to keep reading. Lengthy pages also hinder the commenting process -- it's very difficult to leave a comment on a phrase that appears 10,000 pixels away. In addition, large content assets cannot be reused properly.

Best regards

JP


author: Fabienne Gerhard
body: Ok - please try if linking to Heading would work - maybe something with the anchor went wrong

Try:

On Glossario 2.0 go to Fornitore ad impatto diretto mediamente critico (IDMC) and format it as a Headline

Than go to P-QM006 and set the link on 2. NUOVO FORNITORE IDMC E IDNC to

QM:GLOSSARIO 2.0#Fornitore ad impatto diretto mediamente critico (IDMC)

-\> Does this work?

Please check if P-QM006 and GLOSSARIO are in the same space (TEAM QM) - if it is like this please set the link on 2. NUOVO FORNITORE IDMC E IDNC to

GLOSSARIO 2.0#Fornitore ad impatto diretto mediamente critico (IDMC)

Let's work on one working link and then try to link it backward as well


author: Tamara
body: Okay, I tried aaaand it didn't work. It shows me Glossario, but it didn't go to the correct word. I triend ![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/48945i3A3EE4C3F5A06643/image-size/large?v=v2&px=999 "1.PNG")


author: Fabienne Gerhard
body: Yep - that's correct.

So your link from P-QM006 to Glossario would be

QM:GLOSSARIO 2.0#a

---------------------

I'm a little bit irritated that you are having a site P-QM06 and P-QM006.

---------------------

Please remember when they are both in the same space Team QM (with spacekey QM) you don't need a space key and the link from Glossario to P-QM006 would be

P-QM006#a


author: Tamara
body: My spacekey is QM?![2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/48939i062C6927B123DAC0/image-size/large?v=v2&px=999 "2.PNG")


author: Fabienne Gerhard
body: You will find the correct spacekey in browser adress when you are not in editing mode.

https:/yoursystem/display/**SPACEKEY** /**PAGENAME**

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/48935iB99D9D46BE78F2D8/image-size/large?v=v2&px=999 "image.png")


author: Tamara
body: Okay I try!

P-QM06 is a page that i've created and honestly i don't know if it's the spacekey.

I have two anchor because i need both: a link from p-qm06 to glossario and a link to glossario from p-qm06!


author: Fabienne Gerhard
body: Hi [@Tamara](/t5/user/viewprofilepage/user-id/2883941) - it seems like TEAMQM is not the correct spacekey and P-QM06 is not the page name

According to your Screenshots I would say:

1. Go on site P-QM06 - Team QM - Confluence - check if there is the Anchor named 'a'
2. Go to site Glossario 2.0... where you finde Fornitore... and delete the anchor you are having there (you don't need it there - just an anchor where you wanna link to)
3. Mark Fornitore ad.... on the Glossario site you are on and use the link (or Strg + K)
4. Write the correct spacekey for the space P-QM06 (maybe this is the spacekey?!) than a colon than the full page name (with spaces and everything) and #a

Could you make two screenshots of the sites when you are not in editing mode? I think the main problem is the spacekey is wrong and that you are using anchors on both sites.


author: Tamara
body: I want to link "Fornitore....(IDMC)" to "Nuovo fornitore..:" in the other page. I have long documents, so i need this.

(In this place no one knows how to use Confluence, so i can do everything on my own and now i'm blocked)![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/48927i877B4B3D89431902/image-dimensions/866x320?v=v2 "1.PNG")![2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/48929iF2FBDB0037B8E049/image-dimensions/394x249?v=v2 "2.PNG")![3.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/48928i702E756C41B03EE7/image-dimensions/593x253?v=v2 "3.PNG")


author: Fabienne Gerhard
body: Hi [@Tamara](/t5/user/viewprofilepage/user-id/2883941) - did you check out that there is no space between the spacekey and the colon? and of course no space between colon and page name

Another think might be - did you change the anchor name?

Or what might also be a problem - did you check out that all lower and uppercases are used correctly.

Maybe you wanna just copy the not working advanced link here or make a screen shot like [@Max Foerster - K15t](/t5/user/viewprofilepage/user-id/693014) did.


author: Tamara
body: Yep, one minute (:


author: Tamara
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720) thanks for your help!

I read the anchor's guide every time, but it didn't work.

I create a perfect link only once and now i think it was a miracle!

If i use spacekey and : , the confluence tab tell me that the option doesn't exist :/


author: Tamara
body: It navigate me to the top of the page despite of my attempt to linking a specific word.


author: Max Foerster - K15t
body: Hi Tamara,

but the page you're linking to loads around the right area of your anchor? Or does it navigate you to the top of the page?


author: Tamara
body: Yep, i did it, but after that, the link show me the page, not the word! I always use anchor, but every time the link open only the document. I don't understand why it doesn't link with the anchor.


author: Max Foerster - K15t
body: Hi Tamara,

have you made yourself familiar yet with the "Anchor" macro? Insert it anywhere on a page, give it a name and afterward you can reference it the Advanced section when creating a link:

![link.png](https://community.atlassian.com/t5/image/serverpage/image-id/48905iB4B64C18B2270EBB/image-dimensions/548x186?v=v2 "link.png")

Best, Max


Tags: confluence-server

link

server