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.
** postTypes: [
type: “blog”, // type slug
endpoint: “blog”, // REST API endpoint
archive: “/blog”, // link where this custom posts are listed,
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.