title: How to use slashes in WordPress permalinks?
body: <p>I am migrating an old website to WordPress. I have to migrate about 100,000 pages. I have written a plugin which is making use of <code>wp_insert_post</code>.</p>
  
  <p>I also want to migrate the old URL structure without making use of redirects (because every 301 redirect is said to loose some link power), but use permalinks instead. Whenever I set a permalink which includes a slash (directory structure), the slashes are replaced with '-'. This is the problem.</p>
  
  <pre><code>wp_insert_post(array=&gt;('post_name' =&gt; 'slashes/go/there/'));
  
  permalink = 'slashes-go-there-';
  </code></pre>
  
  <p>Any ideas how i can set permalinks on a individual basis for every single page would be appreciated?</p>