How to remove taxonomy slug from custom post type url?
<p>I have a custom post type(product) with taxonomy <strong><code>product-type</code></strong>. One of my url like this: <br>
<a href="http://www.naturesbioscience.com/product-type/immune-support-supplements/" rel="noreferrer">http://www.naturesbioscience.com/product-type/immune-support-supplements/</a> <br>
I want this like: <br>
<a href="http://www.naturesbioscience.com/immune-support-supplements/" rel="noreferrer">http://www.naturesbioscience.com/immune-support-supplements/</a></p>

<p>I have used <strong><code>"rewrite" =&gt; array('slug' =&gt; '/ ', 'with_front' =&gt; false</code></strong> in <strong><code>register_taxonomy</code></strong> function and I got the url like:  <br>
<a href="http://www.naturesbioscience.com/immune-support-supplements/" rel="noreferrer">http://www.naturesbioscience.com/immune-support-supplements/</a> <br>
<strong>But I got 404 not found in other pages.</strong> </p>

<p>Anyone can help me?</p>