*

Hunter777

  • ****
  • 153 posts
How to make https://www.mysite/
« on: October 27, 2017, 01:10:27 PM »
Please tell me how you can do https://www.mysite/    -  Now I'm on the site is so https://mysite/  - but I need it to be so https://www.mysite/
The hosting company says that this is a problem with the Osslass or with a topic for Osslass
Please help me to solve this problem.

*

ferry

  • ****
  • 155 posts
Re: How to make https://www.mysite/
« Reply #1 on: October 27, 2017, 02:13:57 PM »
just add the www in your config.php

it is allready more then 10 times answered on osclass forums''you dont have search on your computer?

*

Hunter777

  • ****
  • 153 posts
Re: How to make https://www.mysite/
« Reply #2 on: October 27, 2017, 02:28:09 PM »
I added - but the site gave an error and the white screen

*

Hunter777

  • ****
  • 153 posts
Re: How to make https://www.mysite/
« Reply #3 on: October 27, 2017, 03:17:07 PM »
I decided on my own

Re: How to make https://www.mysite/
« Reply #4 on: December 17, 2017, 05:38:32 PM »

To set the https protocol, you'll need to add the following code to the .htaccess file:

RewriteCond% {HTTPS}! = On
RewriteRule. * Https: //......................% {REQUEST_URI} [R, L]

and replace define ('WEB_PATH', 'http://....................../'); with define ('WEB_PATH', 'https://......................../'); in the config.php file.