Dreamlake Cruise Hero
  • Getting Started with Dreamlake Hero
  • Dreamlake - Prismic CMS
    • Manage content
      • Create and Publish a document
        • URL - Slug and parents
        • Metadata — SEO
        • Links
        • Search
      • Page Types
        • Bookflow page
          • Main
          • Passangerstep
          • Cabinstep
          • Addonstep
          • Informationstep
          • Confirmstep
          • Confitmationstep
          • My trip
        • Settings page
          • Main
          • Header
          • Footer
          • Search
          • Theme
          • Metadata
        • Index page
          • Main
          • Settings
          • Metadata
        • Cruise Line page
          • Main
          • Information
          • Slices
          • Search
          • Metadata
        • Ship page
          • Main
          • Information
          • Slices
          • Search
          • Metadata
        • Region page
          • Main
          • Slices
          • Search
          • Metadata
        • Port page
          • Main
          • Information
          • Slices
          • Search
          • Metadata
        • Standard page
          • Main
          • Search
          • Metadata
        • Section page
          • Main
          • Slices
          • Search
          • Metadata
      • Slices
        • Title and Text
          • Step by step
        • Banner
          • Banner slice examples
          • Step by step
        • Media with Text
          • Step by step
          • Add Video Guide
            • Mp4
            • Youtube
            • Vimeo
        • Offerings
          • Offerings Slice Examples
          • Step by step
        • Flockler
          • Step by step using flockler
        • Image Gallery
          • Step by step
        • Raw Quote
      • Media library
    • FAQ
      • Frequent Questions
      • Search Parameters
  • Agent Portal - Do not use WIP
    • General manual for the Agent Portal
      • Products
        • Cruise products
        • Flight products
        • Hotel products
      • Packages
        • Add Travel Selection
          • Add Cruise Selection
          • Add Hotel Selection
          • Add Flight Selection
      • Untitled
      • Promotions
      • Orders
        • Order details
          • Edit
        • Order listing
  • Campaign manager
  • Release Notes - Do not use WIP
    • Cruise Hero Client
      • Untitled
Powered by GitBook
On this page
  • Name your document by choosing a slug
  • Point out a parent document to create a structure
  1. Dreamlake - Prismic CMS
  2. Manage content
  3. Create and Publish a document

URL - Slug and parents

How to create page urls when authoring content

PreviousCreate and Publish a documentNextMetadata — SEO

Last updated 6 years ago

Name your document by choosing a slug

The slug is the last portion of the page url, together with the path of all parent pages and the domain.

https://www.yourdomain.com/path/another-path/this-is-the-slug

The slug should resemble the page title, and point at the contents of the page to aid the user. Effectively, your slugs should be concise and contain only keywords, such as "book-now", "visit-amsterdam" or similar.

Point out a parent document to create a structure

Usually, you will start by creating the main site documents, after this you can start using them as parents to other sub-documents. All parents in a structure will create a unique url, by linking parent-slug/parent-slug/child-slug.

Remember that once you have created and saved a document with a slug, you cannot use that slug again, Prismic prohibits this option.

It's also not possible to have the same slug at any time in the same page type, in order to avoid clashing name-spaces.

The slug is not optional.