I've actually gotten this to work now with the above folder structure and the default route resolver (rewired is the name of the blog).
As far as I can tell it's all working. The only strange side effect is that any blog post can be reached via the following URL, but it's a minor issue to be fair:
In that case your route for your blog post route should look something like:
{
type: 'blog_post',
path: '/rewired/:category/:uid',
resolvers: {
category: 'category' // id of the content relationship in the blog_post custom type
}
}
1 Like
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
8
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.