Zero222 Posted September 7, 2020 Share Posted September 7, 2020 Hello I can't switch the site to https. When I switch the hosting site to https, it turns out to be Abracadabra . What should I change in the files??? Link to comment Share on other sites More sharing options...
♥ecartz Posted September 7, 2020 Share Posted September 7, 2020 In the two configure.php files, change the things that say http: to https: Note that this assumes that your host is answering on https. If there's a problem with that, you'd have to take it up with your host. Always back up before making changes. Link to comment Share on other sites More sharing options...
Zero222 Posted September 7, 2020 Author Share Posted September 7, 2020 14 minutes ago, ecartz said: In the two configure.php files, change the things that say http: to https: Note that this assumes that your host is answering on https. If there's a problem with that, you'd have to take it up with your host. What should I change in the files and where? Link to comment Share on other sites More sharing options...
♥14steve14 Posted September 7, 2020 Share Posted September 7, 2020 @Zero222 Please read what ecartz posted. He said change all http entries to https in both of the configure files. You may also want to add something into your htaccess files so all customer and search engine links transfer across to SSL as well. Adding something like this should work, but replace the #### for your site url. # Rewrite code for non www to www and from HTTP to https RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.####.com/$1 [R=301,L] REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Zero222 Posted September 7, 2020 Author Share Posted September 7, 2020 6 minutes ago, 14steve14 said: @Zero222 Please read what ecartz posted. He said change all http entries to https in both of the configure files. You may also want to add something into your htaccess files so all customer and search engine links transfer across to SSL as well. Adding something like this should work, but replace the #### for your site url. # Rewrite code for non www to www and from HTTP to https RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.####.com/$1 [R=301,L] OK. Thank you. Sorry. In which directory are these two files located? Link to comment Share on other sites More sharing options...
♥14steve14 Posted September 7, 2020 Share Posted September 7, 2020 They are both in the store front and admin includes folders. So its admin/inckudes/configure and includes/configure REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
MyBookShop Posted September 10, 2020 Share Posted September 10, 2020 Don't forget to open the port 443 on your router or firewall. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.