Post by flatka » Wed Feb 15, 2017 8:41 pm

Hello,
I've successfully installed certificate on my website, however not displaying ssl certificate on index page and all categories.
but https://testpage111.com/admin page showing certificate as well.
I want to see my certificate on all opencart pages... not only on /admin or checkout...
I've configured config.php and admin/config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://testpage111.com/');

// HTTPS
define('HTTPS_SERVER', 'https://testpage111.com/');
define('HTTPS_IMAGE', 'https://testpage111.com/images/');

but still have a problem with index url and categories urls...
I know that the issue is known... please help to understand what i missing.
BTW, i've friendly urls configured in htaccess - if i remove RewriteRule from the file, certificate displayed but url link got 404


Posts

Joined
Wed Feb 15, 2017 8:29 pm

Post by uksitebuilder » Thu Feb 16, 2017 4:19 am

You simply need to set the HTTP_SERVER as your https address also.

Also, you should put a redirect in your .htaccess to redirect all http traffic to your SSL url.

Pop it after the RewriteBase / rule

RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://testpage111.com/$1 [R=301,L]

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by floatleft » Wed Mar 01, 2017 1:31 pm

I made all the necessary changes to force HTTPS. I attempted to register a new user. When I check the "privacy policy" box and click continue, the page refreshes, doesn't advance, and the user record is not created. Any thoughts?


Posts

Joined
Fri Jun 05, 2015 4:10 pm
Who is online

Users browsing this forum: No registered users and 15 guests