Hi There,
Recently, I have joined this forum to know how to install SSL certificate.
I have purchased web hosting from bigrock where they gave me a free SSL certification for my website xplormedia dot com. I tried to install that but getting error while redirecting URLs. I have already contacted them but got no solution as they replied "find a developer by your side to get solution". I am neither technical person nor have any amount to pay to a developer.
My website's homepage is redirecting from http:// to https:// but when I am checking internal pages then it is showing two different URLs, first with http:// and another one with https://
Please gently lead me!
--
Regards
@XplorMedia
There are 3 areas that need to be set up correctly ...
1) Your website is XplorMedia.com. It is NOT www.XplorMedia.com. Note the www. prefix. You need to make sure that your SSL certificate and website name match.
2a) You need to make sure your .htaccess file redirects people to the correct name. In other words, if people type www.XplorMedia.com, your .htaccess file needs to redirect them to XplorMedia.com (without the www.).
2b) Your .htaccess file must then redirect people to your https:// site.
3) In osCommerce, there are two configuration files:
<shop root>/includes/configure.php
<shop root>/<your admin directory>/includes/configure.php
BOTH of these need to be edited to reflect that you are using a SSL certificate. For example,
<?php
define('HTTP_SERVER', 'https://XplorMedia.com');
define('HTTPS_SERVER', 'https://XplorMedia.com');
define('ENABLE_SSL', true);
Note that there is no www. in the URLs (since your site, and SSL certificate aren't using it), that the httpS is in BOTH URLs, and that ENABLE_SSL is set to true.
HTH
Malcolm