Custom taxonomy rewrite does not get recognized
-
So, the past week I’ve been trying to rewrite a custom slug without any success. I am using CPT UI. The problem is that a rewrite for a custom post type where a custom taxonomy is included does not get recognized.
I am using the exact same custom post type/taxonomy settings from another website on this website, but on this one it doesn’t work.
- The name of the custom post type is: ‘machines’ – the rewrite of this custom post type is set to: “machines/%machinemerk%”
- The name of the custom taxonomy is: ‘machinemerk’ – the rewrite of this custom taxonomy is set to: ‘machines’
The URL structure I am looking for when viewing a product: http://www.example.com/machines/machinemerk/%5Bname_of_product%5D/
The result I am getting when viewing a product: http://www.example.com/machines/%machinemerk%/%5Bname_of_product%5D/
The topic ‘Custom taxonomy rewrite does not get recognized’ is closed to new replies.