Separate Content Within Confluence Spaces

When thinking about your content strategy, there are two options for handling variants of similar content are to display varying content in the same space, or in different spaces.

To look at these two approaches, consider this example: your team writes a documentation guide for users of your product and a guide for administrators. For each type of person, you write different overviews, steps, etc. to meet their needs. So you're writing a user and administrator variant.

Publish Variants to One Space

You can use Expand macros to hide content variations by default. This approach is simple to do and viable in situations where you have a small amount of documentation with little content variation.

Here are a few ways you could implement this to help manage your content:

  • Create a page for each variation within one space separating variants by page title. For example, the pages could be titled: "Getting Started - User" and "Getting Started - Admin".
  • Create a section for each variation within one page separating variants by section. For example, the headings on the page could be: "Getting Started - User" and "Getting Started - Admin".
  • Add one or more Expand macros with varied content on the page. Title the Expand macro(s) to designate for which variation it's intended. For example, the content on the "Getting Started" page is targeted at users and the Expand macro is titled "Additional Information for Administrators".

Keep in mind

  • Reduced content and navigation skimability.
  • Increased documentation overhead, as you'll have to copy shared content to ensure it's updated between all variants or ensure visible and hidden content is updated and makes sense together.
  • With the Expand macro approach, users of less used variants must pay very close attention to find and expand the additional content.

Publish Variants to Different Spaces

To separate different variants of your documentation, you could use multiple spaces to publish the variations separately. From each space, you can publish exported documentation in specific variations and have different help site URLs for each variant. This provides a better experience for users than keeping all variants in one space, since they only see content related to their use case.

To implement this approach as part of your content strategy, you could create the content for all variants in one space. In the example, you would have a "Getting Started" page for users and a "Getting Started" page for admins. On each page, you add a label designating the variant to which it relates. When it's time to publish the content, copy the entire space to multiple spaces, each named for a different variant. Finally, go through each space deleting those pages with labels that don't pertain to the given variant.

Keep in mind

  • Increased documentation overhead, as you'll have to ensure content is updated for multiple variants within separate pages.
  • Potentially lengthy publishing process because of the number of spaces you will need to manually create and modify.
  • When setting this up for a help center, this approach may mean that your site is down for a little while as you will have to manually delete all existing variant spaces to create new ones with the same URLs.
Next Up!
Hiding Confluence Content

We Like Cookies

We’d like to set cookies to create a secure and effective browsing experience and to understand how you use our site.

Would you like to help us with that?

We use Google Analytics to understand how you interact with our site. For further details please read our privacy statement. If you don’t want to be tracked, click here: .