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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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.

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 Phillip D likes 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

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.

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

Please tell us how you use Confluence space settings

Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with impro...

313 views 11 8
Join discussion

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