Advertisement:

Author Topic: Changing a non secure url to a secure url [solved]  (Read 459 times)

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Changing a non secure url to a secure url [solved]
« on: July 23, 2018, 06:53:47 pm »
I would like to know if there is any way to change my http url to https without reinstalling the entire osclass??
When i installed osclass my domain didn't had an ssl certificate. So i installed it with the http setting. But now when i try to change my url to https without changing any setting, it brokes my page display. I tried reinstalling on a subdomain with https setting and found that its working. If there any way to achieve that without reinstalling, please let me know.
« Last Edit: July 23, 2018, 08:29:13 pm by theinvisible »

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Changing a non secure url to a secure url
« Reply #1 on: July 23, 2018, 08:17:08 pm »
you need to modify config.php

define('WEB_PATH', 'http://www.mywebsites.com/');

to

define('WEB_PATH', 'https://www.mywebsites.com/');

theinvisible

  • Sr. Member
  • ****
  • Posts: 311
Re: Changing a non secure url to a secure url
« Reply #2 on: July 23, 2018, 08:28:46 pm »
Thank you. :D It worked.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Changing a non secure url to a secure url [solved]
« Reply #3 on: July 23, 2018, 08:31:10 pm »
you're welcome