In the Pretty URL administration interface, users with either the ADMIN or KHUB_ADMIN user role who also have the BETA_USER role can configure a rule engine that automatically generates pretty URLs for structured documents and topics. Fluid Topics displays these pretty URLs whenever a user shares a document's or topic's link in order to provide an at-a-glance preview of what the content is about.
Fluid Topics v3.8.25 introduces an improvement where Pretty URLs are available in the browser's address bar when a user consults content in the Reader page.
Selecting the Pretty URL tab in the Knowledge Hub section of the Administration menu displays the Pretty URL administration interface, which is composed of two sections as follows:
- A section to define pretty URL templates for documents.
- A section to define pretty URL templates for topics.
Configuration involves entering metadata and, if desired, adding static text.
- To separate sections, valid characters include a dash (-), an underscore (_) or a slash (/).
- It is possible to concatenate the metadata of all parent topics and current topics by using {parents-and-self.metadata}. As a result, the pretty URL will contain a breadcrumb with all levels of a document's hierarchy.
- In order for Fluid Topics to propose a pretty URL when users select Share URL in the topic shortcut menu, it is necessary to define at least one template in the topics section.
- For all templates, it is necessary to place metadata inside brackets.
- For topic templates, it is possible to reference the document's metadata with the document. prefix.
- Only content with all of the metadata defined in one of the templates will have a pretty URL.
- If an administrator defines a template in the Pretty URL administration interface and then modifies this template at a later date, this is likely to break pretty URLs which were automatically generated prior to the modification.
- Defining rules to automatically generate pretty URLs does not override any existing pretty URLs that were previously defined by means of a control file, a source document, or a web service.
Selecting the Save button displays the following pop-up:
Reprocessing can take a considerable amount of time if a lot of content has been published to the portal. Any content a user uploads while a reprocess job is underway is queued and processed after the reprocess job is complete.