title: Permalink structure rewrite for custom post type and blog
body: <p>I've started a work for a client, to improve his website. When I wanted to customize the blog I saw that the custom permalink never showed "blog" in the url but it showed %postname%. The client wants to appear "blog/year/month/postname".</p>
  
  <p>There is a CPT that in the register there is a slug that has a add_rewrite_rule:</p>
  
  <pre><code>add_rewrite_rule(
          '^cpt/categories/([^/]*)(/page/([0-9]+)?)?/?$',
          'index.php?product_category=$matches[1]&amp;paged=$matches[3]',
          'top'
      );
  </code></pre>
  
  <p>Every time I try to change the custom permalink it only changes the cpt's url structure and not the others.</p>
  
  <p>I've already tried this suggestion <a href="https://stackoverflow.com/questions/23698827/custom-permalink-structure-custom-post-type-custom-taxonomy-post-name">Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/</a> but I've not been able to get it to work. What do you suppose I'm doing wrong?</p>