Support » Fixing WordPress » remove custom taxonomy from URL with rewrite

  • I have created a custom post type and taxonomy but the problem is that the URLs are not mapping how I want. Currently I have, example.com/%taxonomy%/%post_name%/ but I want example.com/%Category%/%post_name%/

    Currently my rewrite is as like,

    'rewrite' => array('slug' => '');

    But I have no idea what to set the 'slug' value to. Can anyone help me?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove custom taxonomy from URL with rewrite’ is closed to new replies.