Skip to content

Setting up Resolvers

This page documents the resolvers included 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 URL Service. See How to set up canonical URL service for Themes for more information.

Each of these is configured to work for all sites.

NAMEPATTERNPRIORITYDEFAULT TEMPLATECONTENT SOURCECONTENT SOURCE CONFIGS
Video^(/video/[\w-/]+?/)?$5videocontent-apiwebsite_url Pattern 1
Preview unpublished stories^/composer-preview/(.*)/5article-right-railcontent-api-unpublished_id Pattern 1
Tags^/tags/([\w-]+?)/?$6tagstags-apiSlug Pattern 1
Author^/author/([\w-]+?)/?$6authorauthor-apiSlug Pattern 1
Gallery^(/gallery/[\w-/]+?/)?$8gallerycontent-apiwebsite_url Pattern 1
Article(./[0-9]{4}/[0-9]{2}/[0-9]{2}/.)10articlecontent-apiwebsite_url Pattern 1
Section^(.*)/ or ^(\/[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*)\/.*50sectionsite-service-hierarchyhierarchy Static default sectionId Pattern 1