title: Redirect only one page to http htaccess
body: <p>I use codeigniter and I use redirection for all urls to https. now I want to redirect only one page (<a href="https://www.example.com/campaign/PPRTasshs-dhshs_fd5656dfhdh/web/surf" rel="nofollow noreferrer">https://www.example.com/campaign/PPRTasshs-dhshs_fd5656dfhdh/web/surf</a>) to http.</p>
  
  <p>I got lots of answer in So. But I could not implement it properly. Each time i got error "This webpage has a redirect loop". </p>
  
  <p>My htaccess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  
  RewriteCond %{HTTPS} off
  # First rewrite to HTTPS:
  # the subsequent rule will catch it.
  
  RewriteCond %{SERVER_PORT} 80
  RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  # Now, rewrite any request to the wrong domain to use www.
  
  RewriteCond %{SERVER_PORT} 443
  RewriteCond $1 (web\/surf|surf)
  RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  
  RewriteCond %{HTTP_HOST} !^www\.
  RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]     
  RewriteRule ^about-us / [L,R=301]
  
  Options -Indexes
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /index.php/$1 [L]
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
  ErrorDocument 404 /index.php
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Links on So that I tried but not working for me.</p>
  
  <p><a href="https://stackoverflow.com/questions/17333335/codeigniter-check-and-force-one-page-to-https">Codeigniter: Check and force one page to https://</a></p>
  
  <p><a href="https://stackoverflow.com/questions/16152914/redirect-single-page-http-to-https">Redirect single page http to https</a></p>
  
  <p>Thanks in advance</p>