title: Apache redirect question to change domain name
body: <p>I am attempting to add a rewrite rule to my apache configuration file to redirect users to a new url.</p>
  
  <p>The url of my site is <a href="https://openmind.scribesoftware.com" rel="nofollow">https://openmind.scribesoftware.com</a>. If a user enters a URL with <a href="https://openmind.scribesoft.com" rel="nofollow">https://openmind.scribesoft.com</a> (note the lack of "ware") I'd like to redirect them as though they had typed the proper url.</p>
  
  <p>I have tried a couple variations such as:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{HTTPS_HOST} !^openmind\.scribesoft\.com$ [NC]
  RewriteRule ^(.*)$ https://openmind.scribesoftware.com/$1 [R=301,L]
  </code></pre>
  
  <p>However that results in the following error:</p>
  
  <pre><code> This webpage has a redirect loop.
  
   The webpage at https://openmind.scribesoftware.com//enterprises/571 has resulted in too many redirects.
  </code></pre>
  
  <p>I already have a rewrite rule to redirect non-http requests to https requests and that is working fine.</p>
  
  <p>Thanks.</p>