title: Force HTTPS on all pages except one
body: <p>I have a WordPress site that I want fully secured using SSL, with the exception of one page (it has a third party script who will not serve over SSL - let's say it's called /booking/), I also want all URL's redirected to the www version.</p>
  
  <p>I've seen similar answers for the other way around, but not this specific use case.</p>
  
  <p>Is this achievable using .htaccess?</p>
  
  <p>Edit:</p>
  
  <p>Here is my .htaccess file:</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  
  # END WordPress
  
  # BEGIN Custom
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on 
  RewriteCond %{HTTP_HOST} ^00\.00\.00\.00
  RewriteRule (.*) https://www.mysite.co.uk/$1 [R=301,L]
  
  RewriteCond %{HTTP_HOST} !^www\. [OR]
  RewriteCond %{HTTPS} off
  RewriteRule ^((?!online-booking).*) https://www.mysite.co.uk/$1 [NC,L,R,NE]
  
  &lt;/IfModule&gt;
  # END Custom
  </code></pre>
  
  <p>*real IP replaced with zeros, this is to redirect the server IP to the actual website.</p>
  
  <p>This code is for the page being at mysite.co.uk/online-booking/</p>