Skip to main content

Questions tagged [uri]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Section: dynamic Entry URI Format

My solution works, but I seem to have some caching issues ... so I'm unsure weather my solution is useful or not? Entry URI Format of Section (Channel): {{}}/{slug} ...
Marc 's user avatar
  • 194
0 votes
0 answers

Can't reference custom field in Section's Entry URI Format

Craft 3.7.33 I've got a channel Section called "Stories", and a plain text custom field, subTitle, which I want to use in the Entry URI Format. Right now, that is stories/{slug}. When I ...
Sandwich's user avatar
  • 636
1 vote
1 answer

Best way to redirect old URLs

It has been recommended to me to change our URL structure from: to where the variable may be two segments. Is this something Retour can do, or ...
Emma Swann's user avatar
0 votes
2 answers

Nested categories URI format on entries

I have a Category Group that can be 3 levels deep. Each category has its own page and its URI structure appends each category as you go deeper, like so: {parent ? parent.uri : 'root-uri' }/{slug} ...
comtyler's user avatar
0 votes
0 answers

Localization for "Home" site (eg" results in 403 — Forbidden

I have set up a multilingual site in Craft CMS and the localization (via url-slug eg. .../de/...) works on all pages. However, on the home site (index.twig) this leads to an error message "403 - ...
Philipp Roth's user avatar
1 vote
1 answer

nested sections

how can i achieve the following result? i have a structured section called products like /hardware/apple/iPhone which gets the template /templates/productpage.twig now i need need to load a different ...
Nick Langer's user avatar
1 vote
2 answers

How to remove something from the slug/url

I got entries in the folder /cms/web/videos/ and the url display this: I want it to be this: How do I create ...
Sebastiaan Schillebeeckx's user avatar
1 vote
2 answers

Section URI format deprecation error

I'm using the following URI format of a channel {slug}-{}-{locations.last().slug}-{} It throws a deprecation error caused by locations.last() however when I ...
Mark H.'s user avatar
  • 401