Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Space copy] How to keep the same link format of the source ?

Donia
Contributor
January 31, 2022

Hi everyone, 

When I create a sapce S2 as a copy of a space S1, I get some trouble with anchor links. Here is an explanation : 

 

As you can see, the page title in the second link is replaced by the page code. The problem is when the link in S2 appears in the same page as the anchor. When I click on this link, instead of going directly to the anchor, the page is reloaded before displaying the anchor.

If it's because of the link format, how can I keep the page title in the links of S2 (from the beginning) ? or is there another solution to automatically "correct" all the links in S2 ?

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2022

Hi @Donia 

Welcome to Confluence 🙂

While placing the anchor of page 1 in page 2

Follow the below format in the doc to place the anchor and that's the way of now

The redirect should happens quickly affecting only the page view to anchor placed in page 1 from page 2!!

https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/

Thanks,

Pramodh

Donia
Contributor
January 31, 2022

Thank you @Pramodh M 

But I'm talking about a completely different issue :)

- in the space S1 : I have a link1 in the page1 redirecting to an anchor1 in the same page (page1).

When I copy a space S2 from the space S1, the whole page1 is copied to a page2. In the page2, I have a link2 (copy of link1) redirecting to an anchor2 (copy of anchor1) in the same page2.

The problem (in S2) is as follows : 

- In S1 : when I click on the link1, I am redirected directly to the anchor1 in the same page1.

- In S2: when I click on the link2, the page2 is reloaded before redirecting me to the anchor2 which is also in the page2.

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2022

@Donia 

Can you place just the anchor if we are referring to the links inside the page itself, no need to use a complete URL

as defined here

https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/

Donia
Contributor
January 31, 2022

Yes it's working !

Thank you @Pramodh MIt was so helpful :)

Like • Pramodh M likes this
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 31, 2022

Elegant and simple!! Glad 🙂 @Donia 

Dasa Orsaghova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2023

@Pramodh M Hi there, I was trying to copy/paste the same anchor within the same page (referring to the same section multiplying it) but the link to the anchor is not copied, it disappears.

Any ideas of a solution for this?

Thank you

Dasa

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events