metalbox
metalbox

Reputation: 302

Opencart https url principal

activate the security certificate in the store, it works well but is still the main url http and not https, and change the url in the config.php, when a product is entered if https appears or when the logo is clicked.

I can do?

Upvotes: 0

Views: 82

Answers (1)

metalbox
metalbox

Reputation: 302

Well, finally I did the following:

into de .httacces file write this

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

this is all.

Upvotes: 0

Related Questions