Forums

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

updating link to external location on multiple pages

Addy_Free January 30, 2018

Within Confluence, is it possible to mass-update 2+ external links? Say I have links out to the same application server from two different pages. If the application server address changes, is there a solution for updating all of the external links?

I've searched for a directory/macro solution to no avail. Thoughts? I'm new to Confluence and am implementing it as a knowledge base solution.

2 answers

1 accepted

1 vote
Answer accepted
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi - You should be able to use the same methods described in this article: How Do I replace all 'hard' links to my old Base URL. The use case there is a little different but basically you would need to search and replace the application server address in a backup and then restore the backup. Please check out the article and let us know what you decide.

Addy_Free January 30, 2018

Hi Ann. Thanks!Good stuff. That would meet my need.

My ideal would be to find something that a user could do--perhaps a user is the primary administrator for a compliance reporting site and needs to update the link to that site. I'd rather they be able to do that themselves, easily (to avoid errors), without involving an admin.

You can't always get what you want
But if you try sometime you find
You get what you need

2 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2018

Hi Addy,

I wrote a user macro to be able to search and replace the code of multiple pages at a time:

https://streamline.atlassian.net/wiki/spaces/STRMLN/pages/5144578/Search+and+Replace+User+Macro

However, it's pretty powerful, and since it can change the underlying code of pages (and can therefore cause page errors) you may want to still restrict who can access it. However, it would certainly be much faster than changing the links in a backup and restoring.

Liza Top
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!
March 5, 2021

Nice work! This helped me out a lot.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events