title: Remove taxonomy-base from URL in WordPress
body: <p>I have a little problem with removing the taxonomy base from the URL in Wordpress.  I tried different approaches but none worked.</p>
  
  <pre><code>register_taxonomy('project_category','projects',array(
    'labels' =&gt; $labels,
    'show_ui' =&gt; true,
    'rewrite' =&gt; array(
        'slug' =&gt; 'project-category',
        'with_front' =&gt; false,
        'hierarchical' =&gt; true),
    'hierarchical' =&gt; true)
  );
  </code></pre>
  
  <p>I currently see the URL like this : <a href="http://mysite.com/project-category/project1" rel="nofollow">http://mysite.com/project-category/project1</a> and i want it to be like this: <a href="http://mysite.com/project1" rel="nofollow">http://mysite.com/project1</a>.</p>
  
  <p>I tried to rewrite the slug to '' instead 'project-category' but that messed with all my othr pages, redirecting to a 404 page.</p>