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

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

Adding Prefix/Postfix to all Page titles in a directory structure


So we merged with a company and need to merge their confluence knowledge base with ours, so we have one KB to rule them all. 

Sadly, they made every version of a product in their own space. We have all of our KB on one space, so I need to migrate all their spaces into our one space KB.


Every space they have has all the pages of the same name. They simply duplicated the space, made edits to it, and named the space that version. Interesting way to do it, but not how we want to do it. We give clients access to only one space.

As we know, confluence needs to have Unique Page titles. (ugh). I exported the Spaces to be migrated to XML, imported it to my Confluence. But I cannot move the pages to the space that is our KB because the names conflict with pages with the same name.


How do I en-masse at a PREFIX/POSTFiX to all the pages i.e. the version number. So page title, "Features Guide" would become "Features Guide" thus making it unique and representing the version. 

I have 15 spaces to convert and over 100 pages in each space that would need to be renamed, so manual isn't something I want to do. 



1 answer

1 accepted

1 vote
Answer accepted

Hi @Mark Stephan , welcome on the community. I think you can use Copy function.

When you use Copy on parent page, following dialog is displayed (in second step):


So you can at add "Prefix" when you use Start titles with field...

OMG, you're awesome and saved me a life of manual frustration! Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,685 views 7 31
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