Multiple Custom Taxonomy Rewrite

You must use separate base for both custom taxonomies. For example: default URL: /chalets/ location term URL: /chalets/location/%location% type term URL: /chalets/type/%type% Rewrite rules need to identify the requested custom taxonomy via URL. So, a base URL identifier is required in your case.

How to ignore GET parameter that’s the same as a CPT slug?

You should always preface your CPT names with something to avoid stuff like this – common naming leads to conflicts. My recommendation, so that you avoid this happening again would be to go and re-work your CPT code in your plugin/theme and use myplug_newsletter as the name of your CPT. Obviously change the myplug_ to … Read more

How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?

Thanks to Sally CJ, here is the solution that worked for me : /*To create new custom taxonomy */ function si0b_ct_year() { /* Property Type */ $labels = array( ‘name’ => _x(‘Years’, ‘Taxonomy General Name’, ‘siobanone’), ‘singular_name’ => _x(‘Year’, ‘Taxonomy Singular Name’, ‘siobanone’) ); $rewrite = array( ‘slug’ => ‘artistes’, ‘with_front’ => false, ‘hierarchical’ => … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)