title: Constructing proper regex redirect for multiple pages with variable directories
body: <p>Something happened to our WordPress site and we ended up with thousands of 404s to basically the same page (probably a plugin conflict or deactivation).</p>
  
  <p>The actual page is at <code>example.com/c/circlek.htm</code>.</p>
  
  <p>The 404 errors follow this pattern:</p>
  
  <pre><code>example.com/movie-review/page/18/c/circlek.htm
  example.com/movie-review/page/17/c/circlek.htm
  example.com/movie-review/page/155/c/circlek.htm
  example.com/movie-review/page/188/c/circlek.htm
  example.com/movie-review/page/191/c/circlek.htm
  </code></pre>
  
  <p>and so on and on and on...</p>
  
  <p>The only variation is the numerical folders that do not exist. I could create 2,000 redirects for each one but I'm sure there's a way to create a regex redirect to address all possible variations. I think I know that the expression (.*) should match the numerical folder, regardless of number of digits but I'm stuck otherwise.</p>
  
  <p>So, anything like <a href="https://example.com/movie-review/page/18/c/circlek.htm" rel="nofollow noreferrer">https://example.com/movie-review/page/18/c/circlek.htm</a> or <a href="https://example.com/movie-review/page/191/c/circlek.htm" rel="nofollow noreferrer">https://example.com/movie-review/page/191/c/circlek.htm</a>, etc. should redirect to <a href="https://example.com/c/circlek.htm" rel="nofollow noreferrer">https://example.com/c/circlek.htm</a></p>
  
  <p>This is what I'm coming up with and I know it must be incomplete:</p>
  
  <pre><code>RewriteRule ^movie-review/page/(.*)/ https://example.com/ [R=301,L]
  </code></pre>
  
  <p>Suggestions?</p>