A
A
Alpha122019-05-31 15:01:43
Zend Framework
Alpha12, 2019-05-31 15:01:43

How to move website to https?

Good afternoon, the site
www.ukr-metiz.com connected the site to the ssl hosting, but the styles and scripts are loaded via http protocol
added a redirect to httaccess did not help. The site is written in zend. found the file const.php there is a constant

define("BASE_URL",         "http://" . $_SERVER['HTTP_HOST'] . "/");

installed like this
define("BASE_URL",         "https://" . $_SERVER['HTTP_HOST'] . "/");

did not help. ((

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Handbat0, 2019-07-03
@Handbat0

In order to make a site secure (HTTPS) - on the server where it is hosted, you need to install an SSL certificate.
For good, you need to buy it for a specific domain name and set up a server (Apach, Nginx, etc.).
There is a free SSL certificate, here is a link with instructions - https://letsencrypt.org/en/getting-started/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question