Post by tsloc » Thu Feb 09, 2017 7:38 am

Dear all,

Thanks for this great community! Always a lot of good info and solutions to read... But now I need som help regarding my thoughts about changing to HTTPS for my web store.

I have purchased a RapidSSL certificate trough my host provider. I`m using OC with the powerful Pavilion Theme I like. My goal right now is to change the whole web store from regular HTTP to HTTPS. I have been reading so much information but it feels like it´s hard to grab all of the details and info about everything that´s necessary to change for this case.

What do I need to think about? I have tried to look at this a little bit, and not the whole store is using HTTPS yet. I wonder for example about the .htaccess file,I´m using this code below:

RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$$1 [R=permanent,L]

Is this code correct? I can activate the option "Force SSL" trough my host provider, but is that the right way to do? I´m a little bit of a newbie when it comes to the code settings.

I would be greatful for any advices from all of the expert persons here!

Best regards Thomas

New member


Thu Feb 09, 2017 7:15 am

Post by IP_CAM » Fri Feb 10, 2017 9:21 am

Unfortunately, it takes more than just adding correct LINKING into the config.php files and
the .htaccess file, but I just created a listing with serveral Extensions, for different Versions,
to hopefully 'closing' some default-existing 'https-holes'. :D
I don't use https yet, so, I just dont't know.
Good Luck! ;)

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site:
2'880 FREE OC Extensions, on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by tsloc » Fri Feb 10, 2017 8:00 pm

Thanks IP_CAM for your reply!

I have always used www for my web shop. I have done the changes in Google Webmaster Tools and in the .htaccess-file with following code:

RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$$1 [R=permanent,L]

When it comes to HTTPS for the whole store, I know that people add below code in the .htaccess-file. Is this the right way to point HTTPS to the whole site? Can the code below make issues with the other "www code"?

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]

Is it also right to use all of this code to my config.php files in both root and /admin file location?

define('HTTPS_SERVER', '');
define('HTTPS_CATALOG', '');
define('HTTPS_IMAGE', '');
define('HTTPS_ADMIN', '');

Best regards Thomas

New member


Thu Feb 09, 2017 7:15 am
Who is online

Users browsing this forum: No registered users and 35 guests