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.

6 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 bframe likes 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.

0 votes

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.

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,340 views 6 6
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