Osclass forums

Support forums => General help => 3.7.x => Topic started by: theinvisible on July 23, 2018, 06:53:47 pm

Title: Changing a non secure url to a secure url [solved]
Post by: theinvisible 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.
Title: Re: Changing a non secure url to a secure url
Post by: cartagena68 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/');
Title: Re: Changing a non secure url to a secure url
Post by: theinvisible on July 23, 2018, 08:28:46 pm
Thank you. :D It worked.
Title: Re: Changing a non secure url to a secure url [solved]
Post by: cartagena68 on July 23, 2018, 08:31:10 pm
you're welcome