• Resolved danieltlf

    (@danieltlf)


    Hi there,

    I’m trying to remove the taxonomy base from my URLs. And I thought this would be easily doable with Rewrite With Front set to False, but it seems it doesn’t work the way I imagined.

    So, I have a custom taxonomy created with your plugin
    Slug: deal_categry
    Current url: https://www.website.com/deal_category/software-deals/
    (Where software-deals is a term slug.)

    What I’m trying to achieve is the link too look like:
    https://www.website.com/software-deals/
    https://www.website.com/{any-other-term-slug}/

    PS. I re-saved permalink settings.

    Here are my taxonomy settings:
    {"topic":{"name":"topic","label":"Topics","singular_label":"Topic","description":"Choose the topic this post belongs to. (e.g. Affiliate Marketing, E-Commerce...)","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Topics","all_items":"All Topics","edit_item":"Edit Topic","view_item":"View Topic","update_item":"Update Topic name","add_new_item":"Add new Topic","new_item_name":"New Topic name","parent_item":"Parent Topic","parent_item_colon":"Parent Topic:","search_items":"Search Topics","popular_items":"Popular Topics","separate_items_with_commas":"Separate Topics with commas","add_or_remove_items":"Add or remove Topics","choose_from_most_used":"Choose from the most used Topics","not_found":"No Topics found","no_terms":"No Topics","items_list_navigation":"Topics list navigation","items_list":"Topics list"},"meta_box_cb":"","object_types":["post","page","tools","courses","service_providers","deals","events"]},"specialization_area":{"name":"specialization_area","label":"Specialization Areas","singular_label":"Specialization Area","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Specialization Areas","all_items":"All Specialization Areas","edit_item":"Edit Specialization Area","view_item":"View Specialization Area","update_item":"Update Specialization Area name","add_new_item":"Add new Specialization Area","new_item_name":"New Specialization Area name","parent_item":"Parent Specialization Area","parent_item_colon":"Parent Specialization Area:","search_items":"Search Specialization Areas","popular_items":"Popular Specialization Areas","separate_items_with_commas":"Separate Specialization Areas with commas","add_or_remove_items":"Add or remove Specialization Areas","choose_from_most_used":"Choose from the most used Specialization Areas","not_found":"No Specialization Areas found","no_terms":"No Specialization Areas","items_list_navigation":"Specialization Areas list navigation","items_list":"Specialization Areas list"},"meta_box_cb":"","object_types":["service_providers"]},"industries":{"name":"industries","label":"Industries","singular_label":"Industry","description":"","public":"true","publicly_queryable":"true","hierarchical":"false","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Industries","all_items":"All Industries","edit_item":"Edit Industry","view_item":"View Industry","update_item":"Update Industry name","add_new_item":"Add new Industry","new_item_name":"New Industry name","parent_item":"Parent Industry","parent_item_colon":"Parent Industry:","search_items":"Search Industries","popular_items":"Popular Industries","separate_items_with_commas":"Separate Industries with commas","add_or_remove_items":"Add or remove Industries","choose_from_most_used":"Choose from the most used Industries","not_found":"No Industries found","no_terms":"No Industries","items_list_navigation":"Industries list navigation","items_list":"Industries list"},"meta_box_cb":"","object_types":["service_providers"]},"course_category":{"name":"course_category","label":"Course Categories","singular_label":"Course Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Course Categories","all_items":"All Course Categories","edit_item":"Edit Course Category","view_item":"View Course Category","update_item":"Update Course Category name","add_new_item":"Add new Course Category","new_item_name":"New Course Category name","parent_item":"Parent Course Category","parent_item_colon":"Parent Course Category:","search_items":"Search Course Categories","popular_items":"Popular Course Categories","separate_items_with_commas":"Separate Course Categories with commas","add_or_remove_items":"Add or remove Course Categories","choose_from_most_used":"Choose from the most used Course Categories","not_found":"No Course Categories found","no_terms":"No Course Categories","items_list_navigation":"Course Categories list navigation","items_list":"Course Categories list"},"meta_box_cb":"","object_types":["courses"]},"service_provider_category":{"name":"service_provider_category","label":"Service Provider Categories","singular_label":"Service Provider Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Service Provider Categories","all_items":"All Service Provider Categories","edit_item":"Edit Service Provider Category","view_item":"View Service Provider Category","update_item":"Update Service Provider Category name","add_new_item":"Add new Service Provider Category","new_item_name":"New Service Provider Category name","parent_item":"Parent Service Provider Category","parent_item_colon":"Parent Service Provider Category:","search_items":"Search Service Provider Categories","popular_items":"Popular Service Provider Categories","separate_items_with_commas":"Separate Service Provider Categories with commas","add_or_remove_items":"Add or remove Service Provider Categories","choose_from_most_used":"Choose from the most used Service Provider Categories","not_found":"No Service Provider Categories found","no_terms":"No Service Provider Categories","items_list_navigation":"Service Provider Categories list navigation","items_list":"Service Provider Categories list"},"meta_box_cb":"","object_types":["service_providers"]},"deal_category":{"name":"deal_category","label":"Deal Categories","singular_label":"Deal Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"0","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Deal Categories","all_items":"All Deal Categories","edit_item":"Edit Deal Category","view_item":"View Deal Category","update_item":"Update Deal Category name","add_new_item":"Add new Deal Category","new_item_name":"New Deal Category name","parent_item":"Parent Deal Category","parent_item_colon":"Parent Deal Category:","search_items":"Search Deal Categories","popular_items":"Popular Deal Categories","separate_items_with_commas":"Separate Deal Categories with commas","add_or_remove_items":"Add or remove Deal Categories","choose_from_most_used":"Choose from the most used Deal Categories","not_found":"No Deal Categories found","no_terms":"No Deal Categories","items_list_navigation":"Deal Categories list navigation","items_list":"Deal Categories list"},"meta_box_cb":"","object_types":["deals"]},"event_category":{"name":"event_category","label":"Event Categories","singular_label":"Event Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"1","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Event Categories","all_items":"All Event Categories","edit_item":"Edit Event Category","view_item":"View Event Category","update_item":"Update Event Category name","add_new_item":"Add new Event Category","new_item_name":"New Event Category name","parent_item":"Parent Event Category","parent_item_colon":"Parent Event Category:","search_items":"Search Event Categories","popular_items":"Popular Event Categories","separate_items_with_commas":"Separate Event Categories with commas","add_or_remove_items":"Add or remove Event Categories","choose_from_most_used":"Choose from the most used Event Categories","not_found":"No Event Categories found","no_terms":"No Event Categories","items_list_navigation":"Event Categories list navigation","items_list":"Event Categories list"},"meta_box_cb":"","object_types":["events"]},"tool_category":{"name":"tool_category","label":"Tool Categories","singular_label":"Tool Category","description":"","public":"true","publicly_queryable":"true","hierarchical":"true","show_ui":"true","show_in_menu":"true","show_in_nav_menus":"true","query_var":"true","query_var_slug":"","rewrite":"true","rewrite_slug":"","rewrite_withfront":"0","rewrite_hierarchical":"0","show_admin_column":"false","show_in_rest":"true","show_in_quick_edit":"true","rest_base":"","rest_controller_class":"","labels":{"menu_name":"Tool Categories","all_items":"All Tool Categories","edit_item":"Edit Tool Category","view_item":"View Tool Category","update_item":"Update Tool Category name","add_new_item":"Add new Tool Category","new_item_name":"New Tool Category name","parent_item":"Parent Tool Category","parent_item_colon":"Parent Tool Category:","search_items":"Search Tool Categories","popular_items":"Popular Tool Categories","separate_items_with_commas":"Separate Tool Categories with commas","add_or_remove_items":"Add or remove Tool Categories","choose_from_most_used":"Choose from the most used Tool Categories","not_found":"No Tool Categories found","no_terms":"No Tool Categories","items_list_navigation":"Tool Categories list navigation","items_list":"Tool Categories list"},"meta_box_cb":"","object_types":["tools"]}}

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can’t remove taxonomy base slug from the URL’ is closed to new replies.