title: Setting up URL Rewrite rule for a specific domain SEO
body: <p>On Google there is the following Url</p>
  
  <p>www.domain.ch/House/rent</p>
  
  <p>So now my page is now available in multi language and i have now the language in the url, and it looks like this</p>
  
  <p>www.domain.ch/en/house/rent</p>
  
  <p>So I will redirect all old links with url rewrite in the web.config, but I can't find out the match condition to find out if there is a languege insite the url.</p>
  
  <p>My role:</p>
  
  <pre><code>&lt;rule name="mydomain.com" &gt;
    &lt;match url="(.*)" /&gt;
    &lt;conditions logicalGrouping="MatchAll"&gt;
      &lt;add input="{HTTP_HOST}" pattern="^(localhost:3005/|localhost:3005/)$" /&gt;
    &lt;/conditions&gt;
   &lt;action type="Redirect" url="http://localhost:3005/de/{R:1}" logRewrittenUrl="true" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>Thanks for any help!</p>