3
votes
Accepted
Dynamic URL Based on Relationships
To answer this you need to think about what you want to have happen when EE sees a URL - only with this clear can you work out what the right approach would be.
So with your example, it sounds like ...
2
votes
Redirect a URL and remove a segment
I actually just figured it out with an htaccess RewriteRule.
RewriteRule ^blog/detail(.*)$ /blog$1 [NC,R=301,L]
2
votes
Template Routes help and tutorial
You can start from this Mike Boyink's tutorial it is very clear and help me to understand better templates route
2
votes
Accepted
Resource router hijacking all template groups
:url_title will match any string that could be a url title as it is converted to ([^/]+) [1]
To stop this rule matching template groups, you can check that the match is for a real entry in the ...
1
vote
Accepted
Use template at root directory using Template Route Manager
I don't think you can. You also don't need to do that. The template file you are wanting to be your homepage is already called index.
http://www.ee2docs.com/cp/design/templates/new_template_group....
1
vote
Accepted
Remove all URL-segments except for url-title?
Whether you can depends somewhat on how your site / templates are designed.
As far as EE is concerned, you don't really need to specify which channel or anything to retrieve an entry - the url_title ...
1
vote
How to use segment_1 dynamically?
You have lots of options, which is best will depend on what your site design / data looks like. The following suggestions are not in a recommended order, just trying to separate out your options:
...
1
vote
Problem with Template Routes and Pagination
This turned out to be a bug, which appears to have been around since 3.4.0.
Temporary fix ℅ Ellis Labs is to replace the static segment 2 element with regex to achieve same end: no idea why it works, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
template-routes × 31url × 6
templates × 5
ee3 × 4
routing × 4
pagination × 3
404 × 2
url-title × 2
resource-router × 2
ee2 × 1
channel-entries × 1
relationships × 1
search × 1
date × 1
redirects × 1
segments × 1
multi-language × 1
template-manager × 1
custom × 1
regex × 1
listing × 1
category-name × 1