You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, only fields of type id, uid or string are allowed into the url pattern.
That means you cannot use a relation (like category) and I believe createdAt is also not possible as it is not one of these field types.
In the future these features will be added but in the short term this will not be worked on.
boazpoolman
changed the title
Alias relation of /blog/[category]/[createdAt]/[title]
More field options in the URL pattern (e.g. relational fields)
Dec 31, 2022
Maybe I am doing this wrong, but I would like to have my URL look like this:
/blog/[category]/[createdAt]/[title]
The category is a relational field type and the createdAt date is auto generated for each post.
For an example, all my URL alias's should look like the following. Each post is neatly organized into the year, month and day.
The text was updated successfully, but these errors were encountered: