Routing
- 1 - Installation.......
- 2 - Let’s Create a Channel.......
- 3 - Let’s Create a Template.......
- 4 - Using File Fields Part 1: Set Up.......
- 5 - Using File Fields Part 2: Templating.......
- 6 - DRY Template Layouts and Partials.......
- 7 - Moving the System Directory Above Webroot.......
- 8 - Variable Modifiers.......
- 9 - Working with Categories.......
- 10 - Working with Relationships.......
- 11 - Partials, Embeds, Variables.......
- 12 - Let’s Create a Channel Layout.......
- 13 - Routing.......
- 14 - Contact Form.......
- 15 - Adding A 404 Page.......
In this video, we will walk through the different methods of ExpressionEngine routing, and utilize these in our content
What We Do
- Explore the different EE routing methods
- Set up template folder routing
- Set up template routing
Code Snippets
Route We Added
/blog/{url_title:regex[(((?!(P\d+|category\/)).)+?)]}
EE Routing Helper
<a class="block" href="{route='blog/entry' url_title='{embed:url_title}'}">
Links
- ExpressionEngine Template Routes - https://docs.expressionengine.com/latest/templates/routes.html#template-routes
- EEU:// Template Routes For Single Entry Permalink URLs: https://u.expressionengine.com/article/template-routes-for-single-entry-permalink-urls
- See all of the site build in action in the Learn EE git repository.