Generate URL custom type post, category and post Wordpress

by Andrey Pogorelov   Last Updated February 11, 2019 10:08 AM - source

There are several types of posts: audio, video, book, as well as categories that are the same for everyone: category1, category2, etc.

When creating a specific type of post, a category is selected. But in the end, the url is generated: site.com/post type/post name, but you need: site.com/post type/category/post name

It is also necessary to display the archive when navigating by url: site.com/post type/category (specific category) and url: site.com/post type (archive of all categories of this type of post)

Tags : taxonomy urls


Related Questions


Append taxonomy url

Updated April 09, 2017 13:08 PM

Need to remove post type taxonomy name in url

Updated January 24, 2018 15:08 PM

How can I achieve this site/url structure

Updated June 18, 2015 23:03 PM


Multiple Parent Category URLs

Updated November 27, 2017 12:08 PM