taxonomy url results in 404 #4692
-
Hello, I am migrating my site from v2 to v3 and in v2 I have used something like this:
This results in a link to e.g What am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Taxonomies work differently in v3. You don't set the |
Beta Was this translation helpful? Give feedback.
-
funny in my case it only worked when I put the tags folder under blog.. any idea ? |
Beta Was this translation helpful? Give feedback.
Taxonomies work differently in v3. You don't set the
route
. It's automatically going to be at/{taxonomy}/{term}
(e.g. /tags/newsletter) but only if the view exists. Make sure you have aresources/views/tags/show.antlers.html
view.https://statamic.dev/taxonomies#routing