This tutorial is for customers using our Owned Editions only.

Customers using our Cloud Edition are already set up to use SSL by default.

Important Note

Before completing these steps, be sure you actually have a secure certificate installed where iDevAffiliate is located. If you need help adding a secure certificate, please contact your hosting provider and/or server admin.

Step 1 – Secure Marketing Content

In this step, we’ll make sure iDevAffiliate is always providing your affiliates with secure marketing content. That is, images, links, etc.

In your admin center, go to System Settings > General Settings. Adjust your iDevAffiliate Installation URL setting to use https in the URL setting.

using https (SSL) with iDevAffiliate

Step 2 – Secure Browsing

In this step, we’ll make sure your entire affiliate program is loaded using https in the browser. This will secure things like your login pages, signup page, etc. The entire affiliate program will use https in the browser after completing this step. The code below is commonly known as “code that will force https”.

In the root folder of your iDevAffiliate installation, you will find a .htaccess file. This will commonly be located here for example:

/idevaffiliate/.htaccess

Using FTP, edit that file and add the following code to it.

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

The file should look something similar to this when you’re done:

Save the file back to your hosting account and you are done. All marketing content will now be offered to affiliates with https and your entire affiliate program will use https in the browser.