Hello guys,
Firstly, my application is on the localhost, so I will not be able to provide any code or repo.
I am having issue when adding custom taxonomy on frontity settings.
blog -> custom post type
blog-category -> taxonomy
My url structure is like below:
- http://domain.com/blogs/blog-category/blog-post -> isPost
- http://domain.com/blogs/blog-category -> isArchive
This has been configured on wordpress side and works efficiently.
Frontity settings:
** postTypes: [
{
type: âblogâ, // type slug
endpoint: âblogâ, // REST API endpoint
archive: â/blogâ, // link where this custom posts are listed,
}
],
taxonomies: [
{
taxonomy: âblog_categoryâ,
endpoint: âblog_categoryâ,
postTypeEndpoint: âblogâ,
},
]
**
But on frontity , First url structure works as expected, but second is not found. I am having below issue:
{
** isError: true,**
** isReady: true,**
** isFetching: false,**
** is404: true,**
** errorStatus: 404,**
** errorStatusText: âpost type from endpoints âposts,pages,mediaâ with slug âblog_categoryâ not foundâ**
}
I assume that taxonomy settings conflicts with postType settings. Please help me to resolve this issue.