Skip to content

Setting up Resolvers

This page documents the resolvers included by default with Themes. These resolvers assume that you are using the template names included by default and that URL patterns match the standard ones that you must configure in Canonical URL Service. See How to set up canonical URL service for Themes for more information.

NamePatternPriorityWebsitesDefault TemplateContent SourceContent Source Configurations
Video resolver^(/video/[\w-/]+?/)?$5All Sitesvideocontent-apiwebsite_url Pattern 1
Preview unpublished stories resolver^/composer-preview/(.*)/5All Sitesarticle-right-railcontent-api-unpublished_id Pattern 1
Tags resolver^/tags/([\w-]+?)/?$6All Sitestagstags-apiSlug Pattern 1
Author resolver^/author/([\w-]+?)/?$6All Sitesauthorauthor-apiSlug Pattern 1
Gallery resolver^(/gallery/[\w-/]+?/)?$8All Sitesgallerycontent-apiwebsite_url Pattern 1
Article resolver(./[0-9]{4}/[0-9]{2}/[0-9]{2}/.)10All Sitesarticlecontent-apiwebsite_url Pattern 1
Section resolver^(.*)/ or ^(\/[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*)\/.*50All Sitessectionsite-service-hierarchyhierarchy Static default sectionId Pattern 1