鲍成龙
一个女孩知道了怎么去模仿女人,并不代表她真的准备好做女人了。
鲍成龙

代码解决办法:

register_taxonomy(
       'travel-category', //taxonomy base
       'destination', // custom post type
       'rewrite' => array( 'slug' => '/', 'with_front' => FALSE )
);

 

如果出现404,在 设置 – 固定链接 中重新保存即可。