Please help me in wordpress.
I want to remove custom texnonomy base from URL in wordpress
http://domainname/travel-category/beaches to http://domainname/beaches
where “travel-category” is custom register taxonomy base and “beaches” is category
MY CODE IS :
register_taxonomy( 'travel-category', //taxonomy base 'destination', // custom post type ... );
DO one thing add the following code for the
rewrite
argument forregister_taxonomy
function:Hope this works and if not try refreshing the permalink page.