ExpressionEngine® 3 User Guide

Legacy Documentation

You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.

Template Routes

Control Panel Location: Developer Tools ‣ Template Routes

The Template Route Manager shows all templates that are assigned a template route and allows you to add, edit and manage your Template Routes.

Routes are listed in the order that the Template Router will match your templates.

Permission Restrictions

  • Access settings: Design & Content
  • Template Management Allowed actions: Manage Template Settings
  • Template Management Allowed actions: Create New Templates
  • Template Management Allowed actions: Edit Templates
  • Template Management Allowed actions: Delete Templates
  • Template Management Allowed template groups

Actions

Settings

This will take you to Template Settings.

Export All

All templates, with their template groups, will be zipped and downloaded.

Search Templates

Searches template contents for the phrase.

Route

This route determines the URLs that will match your template. The format is as follows:

/segment/{variable}/{variable:rule}/{variable:rule0|rule1[arg]}

For more info see: Template Routes

Require all Segments?

If set to “yes” all segments defined in your Template Route must be contained in a URL in order for it to match.

Create New

Creates a new row where you may add a new route, specifying the template, the route and whether segments are required.