Skip to main content

URL patterns

URLs on your website are generated by Jadu Central using pattern templates. The pattern used to generate URLs for documents, homepages and category homepages can be configured using the URL Management area.

warning

After adjusting the URL pattern, you will need to update your theme to ensure that routing logic, and the logic that retrieves records based on the URL identifier matches your new URL pattern.

  1. Click the Settings icon in the left navigation bar. The Settings menu will open.
  2. Click the URL Management link in the third group of links. The URL management area will now be shown.

URL management fields

URL management form

FieldNotesRequired?
Route nameAssociated route name for this URL pattern. Can not be edited in the user interface.
DescriptionDescription of the use of this URL pattern. Can not be edited in the user interface.
PatternText pattern used to generate URLs of this type.
DestinationSymfony service that is associated with this URL type.
Extra parameterAdditional parameters that should be passed to the URL generating function.
Route priorityThe order in which routes are matched to incoming requests. Can not be edited in the user interface.
note

Traffic will not automatically redirect from the old URL pattern to a new URL pattern, manual steps will need to be taken to achieve this.

URL placeholders

PlaceholderNotes
{categoryId}Category unique id.
{categorySlug}Slug associated with the category.
{documentId}Document unique id.
{documentSlug}Slug associated with the document.
{homepageId}Homepage unique id.
{homepageSlug}Slug associated with the homepage.
{pageNumber}Document page number.