Why can't we create 2 pages with the same name under a Space ?


Why can't we create 2 pages with the same name under a Space ? It is hard when desining a big wiki structure to know all the pages names in advance. It would be really nice that 2 pages under a different parent can have a different name.

Any guidelines about Spaces creation vs preventing same name for pages ?


3 answers

1 accepted


Here is a more elaborate example. This creates a journal entry that is dated, has fixed string included as well as a string defined with metadata on the page.

h2. Create New Journal Entry

{add-page:template=JournalEntry| parent=@self| prefix=%data:Prefix% Journal Entry %global:current date > date:yyyy-MM-dd% }Click to add new journal entry{add-page}

You can't have duplicate names because Confluence provides the wonderful capability of preserving hyperlinks to pages even when that page moves around in the space. It is keyed off of the page name. It does this by associating the name with an ugly page ID. One name to two IDs would break the system. With a hyperlink to the named page, which one would you have Confluence choose to go to?

One approach is to go wide with space creation.

Another option is to use unique prefixes to create page names, so that hierarchical names cascade down to descendents. One mechanism is to apply unique name/date/timestamped names using the {add-page} macro. So, each parent leaves his mark on his children, in a sense.

You need to fully specify you pages. We use prefixes. Instead of a plain "Requirements" page defined by its point in the hierarchy, we have "Microsoft Office - Requirements", "Landesk - Requirements", and so on. All the Pages under "Microsoft Office" will have the prefix.

This works well with search too.


Kevin, About the unique name/date/timestamped names using the {add-page} macro. Do you mean manually put the date and time or there is an "Add-page" macro for that ? Cause I can't find that macro.


found it in the plug in page..

The solution is to not use the page name as the page ID/key. They need a separate "Display Name" field.

FYI, there is some thorough discussion of this issue here:


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,798 views 26 10
Join discussion

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