Archived topic
Same category and post base
1 reply · Started by Rostyslav on June 25, 2022
Hello!
I'd like to have the following stucture:
Single Post: test.com/blog/post-name/
Category: test.com/blog/my-category-name/
If I go to permaliks and set: test.com/blog/%postname%/ it works okay
But if I Add category base: blog the category works okay but the post gets 404 error
How can I solve that?
I wank to have the same structure like in cloudways:
https://www.cloudways.com/blog/agencies/ (category)
https://www.cloudways.com/blog/hire-wordpress-developer/ (post of that category)
Thanks
Hi there,
It's not something the theme has any control over.
And i don't know how they did that as those two structures are very ambiguous. How does WP determine it should display a Single Post or a term archive when there is know term slug (?) You might want to ask in wordpress.org general forums or in stackexchange:
https://wordpress.stackexchange.com
Lots of smart people there :)