Jump to content
Zero222

switching the site to https

Recommended Posts

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

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
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

@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
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

They are both in the store front and admin includes folders. So its admin/inckudes/configure and includes/configure

Edited 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×