title: Redirect some part of a website with parameters
body: <p>I have a website where I want some secured parts.
  Like example: </p>
  
  <p><a href="http://www.example.com/admin" rel="nofollow noreferrer">http://www.example.com/admin</a>
  <a href="http://www.example.com/webshop" rel="nofollow noreferrer">http://www.example.com/webshop</a></p>
  
  <p>I can redirect them to https </p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{HTTPS} off
  RewriteRule ^admin$ https://www.example.com/admin [L,R=301]
  </code></pre>
  
  <p>Except, It has multiple variables with it.</p>
  
  <p>Like example: <a href="http://www.example.com/admin/page5/edit" rel="nofollow noreferrer">http://www.example.com/admin/page5/edit</a> or <a href="http://www.example.com/webshop/product5/detail" rel="nofollow noreferrer">http://www.example.com/webshop/product5/detail</a></p>
  
  <p>I want every page that starts with /admin or /webshop redirected to https.
  I tried with $1 $2 but couldn't solve it, because its not always the same amount of variables..</p>
  
  <p>How can I manage this?</p>