Having trouble anchoring within the same space but different pages
Asked by Morgan Geiszler:

I am having issues anchoring within the same space but between two different pages. My first page is called "Bank Reconciliation" and my second page is called "Common". I created an anchor under the "Common" page for the field, "Bank" (see picture below)![Bank Anchor.JPG](/t5/image/serverpage/image-id/181999i5A6A454F44F2C2BC/image-size/large?v=v2&px=999 "Bank Anchor.JPG")

When I go to tie the anchor to the "Bank Reconciliation" page. I highlight the part I need the anchor attached to, click link and type "Common#Bank" (see picture below) When I click Enter, nothing happens.

![BR Link.JPG](/t5/image/serverpage/image-id/182002iFB6117E4E9110D47/image-size/large?v=v2&px=999 "BR Link.JPG")

I have been referencing the "Anchors" Support page on the Confluence website and it shows to use "page name#anchor name" when anchoring in the same space. (see picture below)

![Anchor Support Page.JPG](/t5/image/serverpage/image-id/182003i12CFBAAC42BB3B13/image-size/large?v=v2&px=999 "Anchor Support Page.JPG")

Has anyone ever ran into this before? Am I entering the link incorrectly?


Answers:
author: Andy Gladstone
body: [@Morgan Geiszler](/t5/user/viewprofilepage/user-id/4746411) Welcome to the Confluence Community.

I have successfully completed this by using the URL#anchor_name. When using the link macro it should provide the option of linking to a page (which displays the name and URL). once selecting that, append the #anchor_name to the end of the URL. Page name text alone does not help.

comments: author: Morgan Geiszler
body: Thank you for the feedback Andy!

Using the "URL#anchor_name" took me to the correct page but it brought me to the top of the page rather than the anchor that is halfway down the page. In the link, is there something I need to add so when I click the link, it will redirect me to the anchor on the other page and not just the top of the new page?


author: Andy Gladstone
body: [@Morgan Geiszler](/t5/user/viewprofilepage/user-id/4746411) mine is working, but the entire page needs to render before the redirect takes place. depending on how much data and graphics you have on your page it may take a few seconds. Also, the anchor name is case sensitive - make sure you have it typed correctly.

FYI, this is the latest documentation on anchors.

<https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/>
>
> #### Link formats {#toc-hId--483413298}
>
> Depending on the destination of your link, there are a variety of ways to format your URL.
>
> ##### **Anchor** {#toc-hId-207148176}
>
> **To link to an** [Anchor macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-anchor-macro/) **on the same page:**
>
> 1. Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.
>
> 2. Add the link to the anchor anywhere on the page by highlighting the text to be used as the link
>
> 3. Select the link tool
>
> 4. Enter the name of the macro prefaced by a # symbol. If your Anchor Name is topofpage, you'll enter #topofpage when creating your link.
>
> **To link to an** [Anchor macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-anchor-macro/) **on another page:**
>
> 1. Copy the page of the URL to whose anchor you want to link
>
> 2. Make note of the name of the anchor to which you want to link. The name is displayed on the anchor when editing the page.
>
> 3. Go to the page where you want to add the link and edit the page
>
> 4. Highlight the text to be used as the link
>
> 5. Select the link tool
>
> 6. Paste the URL to the copied page in the link field followed by a # symbol and the anchor name.   
>    Example   
>    page name = Project notes
>
>    Anchor name = notes from today  
>    Link = sitename.domain/wiki/Project+notes#notes-from-today


author: Andy Gladstone
body: [@Morgan Geiszler](/t5/user/viewprofilepage/user-id/4746411) hoping that my my answered helped you. If it did, please mark it as accepted so other community members searching for similar or related issues can find it easier.

If it has not, please let me know how I can help.

Cheers!


Tags: cloud

confluence-cloud