Questions tagged [template-routes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
222 views

Dynamic URL Based on Relationships

I have 3 channels and relationships between them Theme >> Goal >> Issue where multiple issues can be a part of a single goal and multiple goals make up an issue. I am flexible with which direction ...
danbrellis's user avatar
2 votes
1 answer
500 views

Template Routes help and tutorial

I read the EE Template Routes documentation, no have concrete tutorials and examples. It's hard to understand how to use it. Does someone have a simple and concrete example ?? thanks
Stéphane's user avatar
  • 885
1 vote
2 answers
259 views

Template Route Already in use

EE 2.9.0 I'm attempting to set up a template route for a new section of the site I'm working on. However when I do I get the error: Template Route Already in use I've set up a route for the blog/...
CreateSean's user avatar
  • 4,747
1 vote
1 answer
75 views

Search module not working when using a template route to display the results page

I am having a bit of trouble getting a search results page to display if the template used for results is being supplied via a template route. My template faq-search is accessed via /resources/faq/...
JeremyC's user avatar
  • 13
1 vote
1 answer
72 views

Template Routing with extra segments, how to catch 404's?

I'm using the extra segment approach to direct requests to pages, as described here: Template Routes and extra segments This is working great and allows me to create a common wrapper for pages, but ...
greebstreebling's user avatar
1 vote
1 answer
187 views

Temaplate Routes Not Working

According to EE3 documentation: /name/{first_name}/{last_name} with Require All Segments set to no should match /name/Enrico/Fermi /name/Enrico /name/III /name I am trying to use a template ...
Drew Major's user avatar
1 vote
0 answers
35 views

Listing entry showing same article no matter what url is using template routing

I have a listing entries template set up that is using routes (not even sure that's the issue), but same article on listing entry page no matter what the url is. What am I missing? Set up a template ...
frshjb373's user avatar
  • 273
1 vote
2 answers
524 views

ERR_CONTENT_DECODING_FAILED when creating template route for specific entry

I have 3 templates in a template group Template Group /customer-service /customer-service/expert-tip /customer-service/expert-tips I want to use the second template to display specific channel ...
Caleb Faruki's user avatar
1 vote
0 answers
154 views

Help using core Template Route and Template Route Manager w/ pagination

I'm tying to figure out how to use the new core Template Route feature. I have the following templates: gear.group/brand.html gear.group/brand_entry.html I have the following urls: /gear/brand/...
Natetronn's user avatar
  • 2,654
0 votes
1 answer
42 views

Redirect a URL and remove a segment

I recently redid an ExpressionEngine site that was not using template routes for a blog, so the blog URLs were like this: http://mywebsite/blog/detail/url-title-here After the redesign, I created a ...
mediapimp's user avatar
  • 741
0 votes
1 answer
61 views

Resource router hijacking all template groups

I could swear this was working last week. I've got Resource Router set up like so: ':url_title' => function($router) { $router->setTemplate('addon/index'); $router->setGlobal('template', '...
Steven Grant's user avatar
  • 2,473
0 votes
1 answer
89 views

Remove all URL-segments except for url-title?

right now I have an URL-structure like www.xy.com/channel/template/url-title Is it possible to get an url-structure like www.xy.com/url-title instead, removing all segments except the url-title? ...
BNetz's user avatar
  • 470
0 votes
1 answer
117 views

How to use segment_1 dynamically?

I would like to use segment_1 in my address to refer to different locations. For example, my-site.com/haiti, my-site.com/anchorage or my-site.com/portland. But they would always be directed to the ...
Geoff's user avatar
  • 27
0 votes
1 answer
158 views

Problem with Template Routes and Pagination

I have an established site that was working just fine, but following a point-upgrade of EE (3.5.6 to 3.5.9) template routes that include a pagination term have all stopped working. I am mystified as ...
JCOGS Design's user avatar
  • 3,585
0 votes
1 answer
90 views

Use template at root directory using Template Route Manager

I use EE 2.10.1 and the Template Route Manager to show a specific template at the root of my site (e.g. http://www.example.com/). My setup in the Template Route Manager resembles the screenshot: I ...
Rias's user avatar
  • 127
0 votes
1 answer
132 views

Custom url with date and category_name

is possibile to build an url like this without use third party module? www.mysite.com/template_group/2014/12/12/category_name/url_title Thanks
Filippo Salza's user avatar
0 votes
1 answer
391 views

Template Routes Error

I have three templates, and three routes in my template group as follows: courses -- index (landing page) -- filtered (filtered listing) -- details (course details) And I want to have the following ...
Aaron's user avatar
  • 1,162
0 votes
1 answer
43 views

Template Routing, display both a specific channel entries and a couple of index pages on the root URL '/"

Using Expressionengine 3.5.11 I need to display the entries from a specific channel, thus '/entry-url', this is obviously not difficult, however I also need to display an index page for a couple of ...
greebstreebling's user avatar
0 votes
1 answer
96 views

Trouble with Template Route & Pagination

I have created a template route for the typical blog scenario where I have an index template in a "blog" template group that lists blog posts along with a detail template that shows full blog posts. ...
mediapimp's user avatar
  • 741
0 votes
1 answer
85 views

Routes not working as expected

I have a Template Group set up as follows: ask_us.group/index.html ask_us.group/post.html As you can possibly tell this is for a Blog type of area on a website. The index.html is supposed to list ...
Andy's user avatar
  • 322
0 votes
1 answer
106 views

remove second segment in url for entry listings

Currently using {url_title_path='blog/blog-entry} for listing entries, but URL outputs /blog/blog-entry/listing-title. I'd like the URL to be /blog/listing-title. Can I do this using routes? What's ...
frshjb373's user avatar
  • 273
0 votes
1 answer
65 views

Resource Router :pagination not working

I'm using the following (https://github.com/rsanchez/resource_router): $config['resource_router'] = [ 'news-and-resources' => 'www/news-and-resources', 'usa/news-and-resources' => 'www/...
Andy Holmes's user avatar
0 votes
1 answer
126 views

Managing multiple segments in template routes

For one of my templates, I need two extra segments. If I have the following in template routes, the page only loads if there is 1 segment. /gallery/{alpha_dash} If I add the following, it fails: /...
ccdavies's user avatar
  • 455
0 votes
1 answer
67 views

Where is the Template Route Manager

I am taking over a project built with EE. I am completely new to EE, I was trying to figure out how the routing works and I came across documentation about the Template Route Manager. When I login to ...
Shawn Northrop's user avatar
0 votes
1 answer
143 views

Template Route Regex

What's the syntax for excluding phrases from segments in template routes? For example, let's say I have a template group called "fruit." I have a template A with the template route: "/fruit/{fruit:...
atomicglue's user avatar
0 votes
1 answer
168 views

managing multi language site

scenario I want to manage a multi language site without using any add-ons. I’m successful in managing all content from single channel, single field set & single template by using conditional ...
krishna's user avatar
  • 118
0 votes
1 answer
110 views

Template Routes

I'm using EE 3.0.5. I have a template: store/location If there's a third segment, additional information is displayed via a conditional: store/location/coupon The template route is set to: /...
atomicglue's user avatar
0 votes
0 answers
205 views

template routes and category groups + categories

I am in the process of setting up the structure of a new EE site and I've run into questions about routes and if this is possible or if I'm missing something. I apologize if this seems super simple, I'...
Mel's user avatar
  • 858
0 votes
1 answer
90 views

Template route not generating correct URLs

I followed Boyink's tutorial to the letter but still can't get template routes to work. My multi-entry template is located at company/people. My single entry template is at company/person. In the ...
mediapimp's user avatar
  • 741
0 votes
0 answers
42 views

Using template routes to create pages which have no channels in the URL

I'm setting up landing pages for our adword campaigns and have created a channel called "adword_landing_pages". Right now the URL's for these are similar to: www.prestwicklimited.com/...
Lincoln Theiler's user avatar
0 votes
1 answer
438 views

Template routes and Pagination - blank page

I've got a blog listing template where pagination is not working as expected. I see the pagination links but when I follow one I get taken to a blank page. My template routes are: All links from ...
CreateSean's user avatar
  • 4,747