It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing Links After Renaming A Space



As the name of our organization has changed, we would like to change the site title of our Confluence page, which will of course change the server base URL. If we change this, however, all of the links within the space, which link to other articles in the space, will be broken. Is there a way to update site title URL in all the links in a space that point to the current site title URL (and of course not modify external links which do not point to the space)?

2 answers

1 vote
Davin Studer Community Leader Oct 17, 2017

If you created the links like this then there should not be an issue. Confluence handles the link creation and they will change dynamically


However, if you inserted the links this way then they will not change automatically and you will need to fix those.


Thanks for your reply. Unfortunately, the links were created using the second method. Do you know of a tool that could make batch changes to these links?

1 vote
Ann Worley Atlassian Team Oct 17, 2017

@Davin Studer that was an eloquent explanation of a matter that I always struggle to explain.

@Alain AmadorWe have an article that may help: How Do I replace all 'hard' links to my old Base URL

Thanks for the reply, Ann. Can you confirm if this works in Confluence Cloud (not Server)?

Ann Worley Atlassian Team Oct 17, 2017

The base URL cannot be changed in Cloud: Restricted functions in Confluence Cloud

Are you planning to export your current Cloud instance to a new one with a different URL?

Thanks for pointing that out (I was not aware). I suppose in that case, yes, I would have to export it and import it to a new one which matches the name we would like to use. 

Ann Worley Atlassian Team Oct 19, 2017

In that case you will be making an XML back-up so you can use Option 1 from How Do I replace all 'hard' links to my old Base URL:

Create a site XML backup and perform a find/replace or sed to change the old URL to the new URL. The chances for a false positive match in sed are very low for matching URLs, but if you want to confirm all changes, you can use vi or vim for the find/replace. This option will replace content in historical page versions.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

231 views 0 12
Read article

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