Hi,
I have realized that if I link or create includes of pages that reside in the same space of my page, if the page is moved or copied all links break. It looks like Confluence is trying to fing these pages in the new space.
Has anyone ever seen this? Any solution?
Thanks
Matteo
@Matteo Gubellini _SoftComply_ According to the doc (https://support.atlassian.com/confluence-cloud/docs/insert-the-include-page-macro/), I don't think you can:
- include a page from the space m
- move the included page into another space
without modifying the include macro.
The doc states "If the page or blog post is located in another space, add the space key and a colon in front of the page name. For example, DOC:My page name
. The space key is case sensitive."
Have you already tried to prefix the included page with the new space key?
Concerning the links in Confluence, I tend to systematically use the tiny links (press 'k' on any page to have them). It ensures your link never gets broken.
Hope it helps,
Cheers,
Farid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Farid Jaddi ,
Yes I added the space key too, then moved it, but the results are the same.
It seems that if you use the current space, the macro automatically removes the key. I also tried to add it in the XML export, but no luck.
Thanks
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I think it's a limitation of the macro.
I tested it myself and I have the same issue:
- when the included page lives in the same space as the page including the content, the copy 'breaks' the 'include page' macro
- when the included page and the page including the content live in different space, the copy to a different space works.
I think it's worth raising a ticket to Atlassian since the documentation doesn't state this limitation and the behaviour is brittle.
Good luck mate,
Farid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Matteo Gubellini _SoftComply_ I've moved many pages within a space and haven't had problems with links being broken. We are using Cloud Confluence in the cloud. So maybe you should log a support request as perhaps it's just affecting your site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Lucy Minato That's very strange. I've just created a new instance and it behaves the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry @Matteo Gubellini _SoftComply_ I misunderstood your problem, I didn't realise you were copying a page to another space. So can't help you ... but hopefully someone else can.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.