Custom post type rewrites url structure
-
We have custom post type and custom taxonomy for that custom post type. We have problem with url rewriting.
Current url structure is:
https://buck.avokado.ninja/sr/proizvodi/kategorija_proizvoda/opsta-rasveta/Term “proizvodi” is custom post type
Term “kategorija_proizvoda” is custom taxonomy slug
Term “opsta-rasveta” is name of the custom taxonomyWe need url structure like this:
https://buck.avokado.ninja/sr/proizvodi/opsta-rasveta/Custom post type is made with CPT UI plugin with newest version 1.6.2 and wordpress version 5.2.4
We tried using CPT UI’s Custom Rewrite Slug option, we could remove the custom taxonomy slug with “/”, but it redirect to 404 error page.
We tried plugin Remove Taxonomy Base, it removed from url but also is showing error page 404.
-
Hi there!
It looks like you’re in the wrong forum. Your site is using the open-source WordPress.org software so I suggest you look for help here:
https://wordpress.org/support/forums/
These forums are for WordPress.com hosted sites only.
If you want to know more about the differences between WordPress.com and WordPress.org you can read this document: -
- The topic ‘Custom post type rewrites url structure’ is closed to new replies.