Post by Shr3d » Sat Feb 16, 2019 3:48 am

Hi Guys
I recently installed my ssl cert on my domain name..

When going to the sites URL (www.domain.com) it shows the site as Not Secure - If i go to my URL (https://www.domain.com) it shows as secure
When the browser loads the website under the https/ and then click on a menu or product, it reverts back to (domain.com) and shows the site as Not Secure.

How do I make sure that no matter how they access site (https://www.domain.au - www.domain.com - domain.com) they stay within the https and always shows as secure?

Thanks in advance!

Newbie

Posts

Joined
Sun Apr 05, 2015 9:10 am

Post by IP_CAM » Sat Feb 16, 2019 8:46 am

Find a matching .htaccess solution for this here:
https://github.com/IP-CAM/htaccess-rules

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by victorj » Sun Feb 17, 2019 6:21 am

if your site goes back to http than you didi not edit your config files correct.

config file in root should look like this
<?php
// HTTP
define('HTTP_SERVER', 'https://www.joursite.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.joursite.com/');

config file in admin should look like this

<?php
// HTTP
define('HTTP_SERVER', 'https://www.joursite.com/admin/');
define('HTTP_CATALOG', 'https://www.joursite.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.joursite.com/admin/');
define('HTTPS_CATALOG', 'https://www.joursite.com/');

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland
Who is online

Users browsing this forum: No registered users and 139 guests