Confluence 3.5 - stop links pointing back to the old space after moving pages?

I'm reasonably sure I asked this before, but a search doesn't return an answer.

If people foolishly used wiki markup to create a new page in space Alpha by typing brackets, like this:

  • [Page title]

when the page and all its children are moved to space Beta, Confluence "helpfully" updates all links so they point back to the original space, like so:

  • [alpha:Page title]

This is causing me a LOT of grief because I'm moving many pages. Endless, endless broken links. :(

Questions:

  1. Is there any way to switch that off? (I vaguely recall this behaviour is the way it is meant to work. Please tell me it's not true!)

  2. Is there any way to find all the borked links in a space?

3 answers

1 accepted

Hello there,

According to this problem I think it'd be necessary to share with is the conflunce log in order to have a better view of this probem, I mean to create a support ticket if is the case.

First, I believe this document may help you on this issue as we can see here:

https://confluence.atlassian.com/display/CONF34/Rebuilding+the+Ancestor+Table

Also, you might try rebuild index from scratch:

https://confluence.atlassian.com/display/CONF35/Rebuild+the+Content+Indices+from+scratch

Hope it helps.

Thanks for the tips, Bernardo. I'll ask for the reindexing to be done overnight and let you know if it helped or not.

Thank you very much, Bernardo. It took awhile to get the indexes rebuilt (it took over 4 and a half hours so it had to be done during a quiet period, and our support person very kindly logged in over the weekend and did it in her spare time).

I am delighted to report that rebuilding the index fixed the problem. Hooray!

I've run some tests and find this is still broken.

  1. Before rebuilding the ancestor table, I created a parent page with two children (sibling) pages.
  2. Moved them to another space.
  3. One child page has correct links (pointing to the current space with no space key defined)
  4. Second child page has INCORRECT links (pointing back to the originating space).

Rebuilt the ancestor table and got the same results.

I've now asked for the administrator to re-index Confluence overnight when it won't interfere with users. Will update when I get a chance to run the tests again.

I think this must have been a bug that they fixed in 4.0 https://jira.atlassian.com/browse/CONF-22498

which leaves me out in the cold, because I'm using 3.5. And given the loss of wiki markup, likely to remain on it until kangaroos learn to fly.

UPDATE: My mistake. This is a DIFFERENT annoying problem that happens when you move pages.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,898 views 25 10
Join discussion

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