Forums › Forums › Remove CPT base › Removing CPT base in URL that includes a taxonomy returns 404 error › Reply To: Removing CPT base in URL that includes a taxonomy returns 404 error
I use CPT UI for creating custom post types.
I just use plugins, no writing code.
I have a Custom post type called “Restaurant” and a taxonomy called “City”.
I use this plugin “Custom Post Type Permalinks” to add the taxonomy to the permalink structure:
Your plugin removes the base of the CPT and the new permalink becomes:
but this link doesn’t work anymore and return a 404 error and i want my URL to work this way.
(ex: https://www.mywebsite/chicago/mollys-dinner) and not (https://www.mywebsite/restaurant/chicago/mollys-dinner)