Zero222 0 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??? Share this post Link to post Share on other sites
♥ecartz 681 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. Share this post Link to post Share on other sites
Zero222 0 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? Share this post Link to post Share on other sites
♥14steve14 625 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 Get the latest Responsive osCommerce CE (community edition) here It's very easy to over complicate what are simple things in life Share this post Link to post Share on other sites
Zero222 0 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? Share this post Link to post Share on other sites
♥14steve14 625 Posted September 7, 2020 (edited) They are both in the store front and admin includes folders. So its admin/inckudes/configure and includes/configure Edited September 7, 2020 by 14steve14 REMEMBER BACKUP, BACKUP AND BACKUP Get the latest Responsive osCommerce CE (community edition) here It's very easy to over complicate what are simple things in life Share this post Link to post Share on other sites
MyBookShop 6 Posted September 10, 2020 (edited) Don't forget to open the port 443 on your router or firewall. Edited September 10, 2020 by MyBookShop Share this post Link to post Share on other sites