Post by Aleks1201 » Tue May 12, 2020 4:19 pm

After I enabled SSL in the cPanel, my shop crashed. Then I went in opencart admin and enabled SSL in System->settings. But the site is still crashed? The store URL in System->Setting is set to http, but my hosting provider told me it needs to be set to https in opencart for the SSL to work? What do I need to do, to make SSL work?

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by opencartmart » Tue May 12, 2020 6:34 pm

1. Replace all URLs with SSL URLs in both config file (admin and catalog)
2. Rename .htaccess.txt to .htaccess and adjust the `RewriteBase` path if the store is running from a sub-directory e.g. /store

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by paulfeakins » Tue May 12, 2020 6:49 pm

Aleks1201 wrote:
Tue May 12, 2020 4:19 pm
What do I need to do, to make SSL work?
For a start change http:// to https:// everywhere in both config.php files.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by Aleks1201 » Tue May 12, 2020 9:03 pm

opencartmart wrote:
Tue May 12, 2020 6:34 pm
1. Replace all URLs with SSL URLs in both config file (admin and catalog)
2. Rename .htaccess.txt to .htaccess and adjust the `RewriteBase` path if the store is running from a sub-directory e.g. /store
Where is this config.php file and htaccess file? been searching for 1 hour lol

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by opencartmart » Tue May 12, 2020 10:23 pm

Aleks1201 wrote:
Tue May 12, 2020 9:03 pm
Where is this config.php file and htaccess file? been searching for 1 hour lol
One config.php file is located in the root directory and another in the admin directory admin/config.php

Please ignore the htaccess file. You don't need to change anything in it, I was mingling with SEO URL :)

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by Aleks1201 » Wed May 13, 2020 12:48 am

Thank you, it works now

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by paulfeakins » Wed May 13, 2020 6:34 pm

Aleks1201 wrote:
Tue May 12, 2020 9:03 pm
Where is this config.php file and htaccess file? been searching for 1 hour lol
Yikes, you should consider getting a freelancer or agency who can be on hand to help you with stuff like this.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 24 guests