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.
Name | Pattern | Priority | Websites | Default Template | Content Source | Content Source Configurations |
---|---|---|---|---|---|---|
Video resolver | ^(/video/[\w-/]+?/)?$ | 5 | All Sites | video | content-api | website_url Pattern 1 |
Preview unpublished stories resolver | ^/composer-preview/(.*)/ | 5 | All Sites | article-right-rail | content-api-unpublished | _id Pattern 1 |
Tags resolver | ^/tags/([\w-]+?)/?$ | 6 | All Sites | tags | tags-api | Slug Pattern 1 |
Author resolver | ^/author/([\w-]+?)/?$ | 6 | All Sites | author | author-api | Slug Pattern 1 |
Gallery resolver | ^(/gallery/[\w-/]+?/)?$ | 8 | All Sites | gallery | content-api | website_url Pattern 1 |
Article resolver | (./[0-9]{4}/[0-9]{2}/[0-9]{2}/.) | 10 | All Sites | article | content-api | website_url Pattern 1 |
Section resolver | ^(.*)/ or ^(\/[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*\/?[\w\-]*)\/.* | 50 | All Sites | section | site-service-hierarchy | hierarchy Static default sectionId Pattern 1 |