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
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

614 views 4 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you