title: How to do a 301 redirect in htaccess while keeping the slug of the original page
body: <p>We're migrating our blog to Wordpress and need to set up 301's for all the pre-existing URL's.</p>
  
  <p>The existing structure from root is as follows:</p>
  
  <pre><code>/blog/bid/148509/The-Role-of-a-Father
  </code></pre>
  
  <p>What we need to have it do is go to</p>
  
  <p><code>/the-role-of-a-father</code> (from root) on our new Wordpress blog.</p>
  
  <p>Some of the problems I'm having are the following:</p>
  
  <ol>
  <li>I do not know how to do a <code>RewriteRule</code> that keeps the original ending slug the same.</li>
  <li>The numbers after <code>/bid/</code> are never consistant, and so I need something that ignores those numbers but does not ignore the title slug afterwards.</li>
  <li>I need the final URL to convert to lowercase.</li>
  </ol>
  
  <p>I know this is quite a lot to ask for. Any help and resources would be very helpful!</p>