Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

Hi,

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 ?

Seb.

7 answers

1 accepted

1 vote
Answer accepted

Seb,

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.

{text-data:Prefix}EXPR{text-data}
----
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.

Thx.

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.

Seb.

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.

Like # people like this

It is a very pity that the functionality to create pages with the same name (but, of course, with the different path) inside the space will not be implemented

I agree with you. I have decided not to migrate from Nuclino (more expensive up to 10 users) to confluence (cheaper).

Like # people like this

The original wikis were flat page spaces joined with links, not page parent-child relationships.  That gives quick unique access to any page.

As the page count goes up a hierarchical model is going to be needed to keep things under control.   Confluence used a hybrid flat + hierarchical model, on a best-of-both_worlds strategy, I guess.  

I still don't understand, doesn't the Url have a unique page number?

E.g.
/wiki/spaces/CAUI/pages/964312356/Components

 

Why can't Confluence just have:
/wiki/spaces/CAUI/pages/964312356

???

I don't see the point of the unique page name.

Came here with the same frustration.  I'm trying to get my org to use confluence for meeting notes, but everyone is getting "can't create page with same name" errors.  If you have a lot of people doing this, it puts a huge amount of the burden on them to constantly come up with unique names for pages.  Almost makes it unusable. 

There's a practical benefit using real page titles in URLs.

kb.xyz.local/display/ABC/Management+and+Planning

or

kb.xyz.local/display/ABC/5467835480

It would arguably be possible to use only page IDs, include the tree, or use an ID plus the title.  Note also that the system has to cope with page moves and renames.  The design choices were made a long time ago and I think they were ok.  Confluence offers both a flat and heirarchical page access.  

The solution is to include a consistent section name in the title of all pages in a section.  So Jira - Email integration and Confluence - Email integration are different pages and you don't have to scan past the titles to find what you want in a search.   

That requires a bit of consistency work practice and perhaps education but, really, it results in better page titles.   If you are getting name clashes your names aren't really specific enough, include a bit of simple hierarchy in your page titles and the problem is solved.

Thanks for the context, makes total sense for documentation, it makes them better.  We're trying to use it for meeting notes, so it's probably more of an outlier use case.  But making people type new names so frequently adds up.  

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

https://jira.atlassian.com/browse/CONF-2524

Latin script can be use in subtle fashion to make titles with the same names differentiated. Looks a tiny bit odd, but definitely worth it then adding a bunch of prefixes which can make product documentation look confusing. You don't want users questions what the prefix means, as opposed to glancing at the letter D that is rendered as Latin script.

Yeah I've been using emojis, but looks unprofessional.

Shameful. 

Suggest an answer

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

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...

142 views 2 12
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