CMS - Osclass - как перевести сайт на https
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
CMS - Osclass - как перевести сайт на https
открываем файл config.php и меняем
define('WEB_PATH', 'http://site.biz/');
на
define('WEB_PATH', 'https://site.biz/');
а также делаем редирект сайта http на https через .htaccess сайт:
RewriteEngine on RewriteBase / RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://site.biz/$1 [R=301,L]