Post by jimsaxton » Mon Jul 10, 2017 11:43 pm

Hi, I have never made a website secure before, but with a lot of help I have on website https://edgehillcoffee.co.uk/ and the non opencart pages are fine. but the opencart in folder shop loses its format see https://edgehillcoffee.co.uk/shop/

If I visit the original url www.edgehillcoffee.co.uk/shop/ the format is fine.

Can anyone advise me how to get the formatting etc. to work please?

New member

Posts

Joined
Sat Aug 16, 2014 4:25 am

Post by MrPhil » Tue Jul 11, 2017 12:30 am

You have a lot of links and resources on the page which are still http:. Maybe you still have something "http:" in your configuration files? If not, do you have any URL redirect in your .htaccess from "https:" to "http:"? You shouldn't -- in fact, you should have a redirect from "http:" to "https:".

Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by jimsaxton » Tue Jul 11, 2017 3:45 pm

Thank you MrPhil, your comments helped me to look closer at the config file and I changed row 6:
original: define('HTTPS_SERVER', 'http://www.edgehillcoffee.co.uk/shop/');
changed to: define('HTTPS_SERVER', 'https://edgehillcoffee.co.uk/shop/');

Now the page https://edgehillcoffee.co.uk/shop/ displays correctly.
Problem resolved.

New member

Posts

Joined
Sat Aug 16, 2014 4:25 am
Who is online

Users browsing this forum: No registered users and 13 guests