Question: Deploying SMA using HTTPS

Deploying SMA using HTTPS

When I try to change my installed program from HTTP to HTTPS I get an error. Do I have to make some changes to the .htaccess file or within the code. Thank you.

MA

Manste Akai

Asked
When I try to change my installed program from HTTP to HTTPS I get an error. Do I have to make some changes to the .htaccess file or within the code.

Thank you.
  • SF

    Saif Fuad

    Answered
    Hi, please follow these steps and you will be more than fine
    How to enable SSL/HTTPS support?
    You can easily enable https by editing the 2 lines in config file
    (app/config/config.php) as following:
    1. Update base url from http://yoursite.com to https://yoursite.com
    2. Set $config['cookie_secure'] to TRUE
  • MS

    Mian Saleem

    Answered
    **[Saif Fuad](/u/saifwolf)** Thank you for helping

    [MANSTE AKAI](https://tecdiary.net/u/mantseakai) Once SSL installed, you should try the steps mentioned, i) update `$config['base_url']` to `https` and `$config['cookie_secure']` to `true` in `app/config/config.php` If you still have any issue, please let me know with screenshot.

    Thank you
  • Login to Reply