title: Redirect all https to http, except 3 pages [htaccess / php]
body: <p>Running a wordpress site, therefore it already has its own rule to remove index.php from links. Furthermore, every time in a url there is "cache_img", a specific rule applies.</p>
  
  <p>What I need:</p>
  
  <ol>
  <li><strong>for the current rules to keep working</strong></li>
  <li><strong>in case a url is in https, rewrite it with http (301), EXCEPT 3 pages (bookingstep1, bookingstep2, bookingsep3)</strong></li>
  </ol>
  
  <p>I suck at htaccess, it makes little to no sense to me, I hope someone can help me with this. I'm open to either htaccess or php solutions.</p>
  
  <p>This is what I have at the moment (and it may already have mistakes in it...)</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !^/(cache_img) [NC]
  RewriteRule . /index.php [L]
  RewriteRule ^cache_img/(.*)x(.*)-(.*)/r/(.*) cache_img/tt.php?src=http://mydomain.com/$4&amp;w=$1&amp;h=$2&amp;zc=$3&amp;q=100
  </code></pre>
  
  <p>I tried with adding at the top of my htaccess:</p>
  
  <pre><code>RewriteCond %{HTTPS} on
  Rewritecond %{REQUEST_URI} !^bookingstep(1|2|3)\/?$ [NC]
  RewriteRule ^(.*) http://mydomain.com/$1 [R=301,L]
  </code></pre>
  
  <p>Which works for all pages... it removes the https and rewrites them with http.
  But it also rewrite the bookinstep* pages :(</p>
  
  <p>Please help! Thank you!</p>