title: Wordpress Custom Permalink for Just Posts
body: <p>My Wordpress install has three post types: pages, posts, and portfolio. The current structure is as follows:</p>
  
  <ul>
  <li>page: <code>example.com/page-name</code>,</li>
  <li>post listing page: <code>example.com/blog</code>,</li>
  <li><strong>individual post</strong>: <code>example.com/post-name</code>,</li>
  <li>portfolio listing page: <code>example.com/portfolio</code>,</li>
  <li>individual portfolio post: <code>example.com/portfolio/portfolio-name</code>.</li>
  </ul>
  
  <p>The thing I'd like to change is the individual post permalink, but nothing else. I'd like it to become example.com/blog/post-name. </p>
  
  <p>I can't find documentation that shows how to make this change without affecting the other types.</p>
  
  <p><strong>EDIT</strong> : 
  My current permalink structure is set up to be <code>/%postname%/</code>, and under Reading Settings, my posts page is set to Blog.</p>
  
  <pre><code>register_post_type('portfolio', array(  
  'label' =&gt; 'Portfolio Items',
  'description' =&gt; '',
  'public' =&gt; true,
  'show_ui' =&gt; true,
  'show_in_menu' =&gt; true,
  'capability_type' =&gt; 'post',
  'hierarchical' =&gt; true,
  'rewrite' =&gt; array('slug' =&gt; 'portfolio'),
  'with_front' =&gt; false,
  'query_var' =&gt; false,
  'has_archive' =&gt; true,
  'exclude_from_search' =&gt; false,
  'supports' =&gt; array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes'),
  'taxonomies' =&gt; array('category','post_tag'),
  'labels' =&gt; array (
      'name' =&gt; 'Portfolio Items',
      'singular_name' =&gt; 'Portfolio Item',
      'menu_name' =&gt; 'Portfolio Items',
      'add_new' =&gt; 'Add Portfolio Item',
      'add_new_item' =&gt; 'Add New Portfolio Item',
      'edit' =&gt; 'Edit',
      'edit_item' =&gt; 'Edit Portfolio Item',
      'new_item' =&gt; 'New Portfolio Item',
      'view' =&gt; 'View Portfolio Item',
      'view_item' =&gt; 'View Portfolio Item',
      'search_items' =&gt; 'Search Portfolio Items',
      'not_found' =&gt; 'No Portfolio Items Found',
      'not_found_in_trash' =&gt; 'No Portfolio Items Found in Trash',
      'parent' =&gt; 'Parent Portfolio Item',
  )
  ));
  </code></pre>