You should be able to bulk update this globally on the instance but keep in mind this method should be done with caution and I recommend a lot of select statements first to pinpoint the best approach to change URLs.
// Ex, https://oldBaseUrl and https://newBaseUrl UPDATE BODYCONTENT SET BODY = REPLACE(BODY,'<old_string>','<new_string>');
This is the underlying issue I think you run into https://confluence.atlassian.com/confkb/some-attachments-or-links-are-no-longer-accessible-after-server-migration-214862724.html . I recommend installing Source Editor where you can copy a page and try the approach with search and replace in a controlled manner.
How are the attachements "no longer accessible" - do you mean via page -> attachments? Do they show up there, but give an error when clicked? What is the error?
Can you check that
Thanks for the answer. Here is screenshot
If i click on that attachement it points to old URL, what used before migration.
And yes, base url is correct and attachments dir path correct also.
Ah, ok, that looks like someone has embedded the link as a link, instead of using Confluence's internal links. I think
Before I go any further down that path, I'd like to confirm it - could you edit the page, and look at the exact type of link there is there. Is it a full web link, or an "embed attachment" macro? (Don't need to save the page). If you're not sure, then can you have a look in "view source" and see how the link is shown in there?
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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