PDA

View Full Version : How to force https just for the Delavo folder


JEFF HARDING
01-01-2011, 08:58 PM
I want to force https only for the Delavo folder on my site and not the other folders (i.e. my wordpress folders and files as well as other files and folders).

How can I do that?

When I change the htaccess file in the Delavo folder only and use the browser, it wants to force the enter site.

Here is the code I have tried with the htaccess file in the Delavo folder... I have put it in the beginning after "Options +ExecCGI" and "RewriteEngine On:"

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://mydomain.org/delavofolder

I have thought about merely using https only for the order links and that works great, but I have affiliates that are using older links without http and if they use their affiliate order page links without http, it does not engage the https url.

Any clues or thoughts?

Aloha!

Jeff