title: htaccess redirect from https getting 404
body: <p>I want to redirect from either http or https to a new website.</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME}/index.html !-f
  RewriteCond %{REQUEST_FILENAME}/index.php !-f
  RewriteRule . index.php [L]
  Redirect /abc https://www.newdomain.com/abc
  </code></pre>
  
  <p>This works- <a href="http://www.olddomain.com/abc" rel="nofollow">http://www.olddomain.com/abc</a></p>
  
  <p>But this gets a 404- <a href="https://www.olddomain.com/abc" rel="nofollow">https://www.olddomain.com/abc</a>. The</p>