Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,409,321
Community Members
 
Community Events
169
Community Groups

How do I change a space key?

Is there a hack to change the space key? I know that it is fixed but what if we want to change it after creation without having to copy/delete spaces?

5 answers

4 votes
AnnWorley Atlassian Team May 31, 2017

I used a workaround: created a new empty space with the desired key, then moved all pages from the old space to the new one. If there are many pages just below the main page, it may be helpfull to make them a child of just one (maybe empty) page within the old space first (which is possible by drag and drop) and then move this page to the new space.

How did you then manage links? In your new space, do all links not go to the old space still?

Like # people like this

If you work with confluence links they should adapt automatically. Not exolicitly testet now, but I do not remember any problems and I often use links.

This will also affect anyone who has pages bookmarked or linked outside of confluence to anything. The new URL with the updated space key has to be used. The space key is in every page URL. 

@Rainee Rohrbacherthe problem can be solved by using the share function on Confluence pages. This will generate a shortened link that doesn't care if the space or page name changes.

You can use this to change the space key.

Copy the space with this plugin. While copying the space you'll be prompted to type in the name of the space and space key. After changing those, export the space you copied with the new space key and import it to the confluence instance you want.

Download the Copy Space for Confluence plugin and install it

https://marketplace.atlassian.com/apps/212/copy-space-for-confluence?hosting=server&tab=overview

For manual installation;

Administration > Global configuration > Manage add-ons > Upload add-on > browse (select the jar file you downloaded) > Upload

To use plugin;

Spaces > Space directory > click on the space you want > Space tools > Content Tools > Apps > type in new space name and key (you can check the boxes to copy the options specified) > Save

Your Space Directory should have your copied  space with the new name and space key. Now you can delete the space with the old name.

You're welcome.

This is no longer supported.

Unclear whether for Cloud or OnPrem, though with Confluence 7.x and later no longer being supported, maybe this was an OnPrem tool to begin with.

2 votes
Bill Bailey Community Leader May 31, 2017

There is no way I know of to change a space key. The name can be changed, but the key stays fixed troughout the life of the space. You are correct that the only way to "change" the space key would be to copy the space to a new space with the desired key.

You can not change the space key once it is set while creating a space.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events