title: .Net Url Rewrite to another domain with a specific path pattern
body: <p>I'm developing a new site to replace one of my old site, and my purpose is to redirect some of the old site links to the backup server (I will keep the old site live for a period of time until I figured out all the url routings)</p>
  
  <p>for example, here are some of the old links
  <a href="https://www.example.com/category/something/here" rel="nofollow noreferrer">https://www.example.com/category/something/here</a></p>
  
  <p>I want my new site redirect the above urls to 
  <a href="https://backup.example.com/category/something/here" rel="nofollow noreferrer">https://backup.example.com/category/something/here</a></p>
  
  <p>I'm not good at Regex, I tried something like this but not working, any ideas? tks</p>
  
  <pre><code>    &lt;rule name="Redirect URL" stopProcessing="true"&gt;
        &lt;match url="^(.*)/category/(.*)" ignoreCase="true" /&gt;
        &lt;action type="Redirect" url="http://backup.example.com/{R:0}" redirectType="Permanent" /&gt;
      &lt;/rule&gt;
  </code></pre>