Post by radact » Fri Nov 25, 2016 11:52 am

Hi,
I just installed a SSL certificate and I'm trying to move everything over to the new https section.

I've modified the config files to state https, but it seems that the products already in there are hardcoded with http: instead of https: so that that when I click on a product it reverts back to the http: site.

The main front page shows https but all the links show http when I hover or click on them.

I've checked the admin setup and SSL is enabled, but the store url I cant see where to edit it, it is showing http:


I'm using version 2.3.0.2

Am I doing something wrong or have left something out?

New member

Posts

Joined
Fri Nov 25, 2016 11:36 am

Post by amdev » Fri Nov 25, 2016 1:15 pm

Hi please try to force https in .htaccess

E.x

RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [L,R=301,NC]

ร้านค้าออนไลน์
OpenCart Thailand Support Forum
How to Upgrade oc1.5 to 2.0.1.1
Upgrading OpenCart From v.1.4 or v.1.5 to V.2.2 Step by step


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 3:40 pm
Location - Bangkok - Thailand

Post by radact » Fri Nov 25, 2016 1:36 pm

No change.

A couple of the links up top, My Account, Wishlist & Checkout do show https: but Shopping Cart still shows http:

All the product links still show http:

I added to .htaccess.txt the following in the RewriteBase section:

# Added to fix HTTPS
RewriteCond %{HTTP_HOST} ^anotherworld.com.au/shop [NC]
RewriteRule ^(.*)$ https://www.anotherworld.com.au/shop/$1 [L,R=301,NC]

Website is https://www.anotherworld.com.au

New member

Posts

Joined
Fri Nov 25, 2016 11:36 am

Post by thekrotek » Fri Nov 25, 2016 6:42 pm

radact wrote:I added to .htaccess.txt the following in the RewriteBase section:
It should be .htaccess (without .txt).

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by radact » Sat Nov 26, 2016 6:45 am

Renamed the file, removed the .txt

However no change, links still showing http:

Any other ideas?

New member

Posts

Joined
Fri Nov 25, 2016 11:36 am
Who is online

Users browsing this forum: No registered users and 9 guests