title: .htaccess redirect to level up folder with variable
body: <p>URL  <code>/%variable1%/plan/%variable2%/</code> need redirect to <code>/%variable1%/</code></p>
  
  <p>I tried:</p>
  
  <pre><code>RewriteRule ^([^/]+)/?(.*) /$1/plan/$2 [L]
  </code></pre>
  
  <p>Returns a  500 error </p>
  
  <p>Please tell me how to do it in Apache</p>