I followed this guide http://docs.opencart.com/en-gb/administration/ssl/ ... yeah i know you will tell me that this is not enough, also i added https server and https catalog in config.php and admin/config.php
I did not mess or modify .htaccess thow i found some guides on the web with some rewrite rules. Then i thought that i should ask the experts here on forum.
You can see the result here on epantofaria.ro So the thing is that root and pages of the website are https but products and category are not if you browse the website. But if you click on a product let's say and edit the link with https it does work, but not by default.
Can you guys help me a little bit here to proper install https. I'm using ver. 2.1.0.2. Thank you
Attachments
hard-coded-url.jpg (136.76 KiB) Viewed 2466 times
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
make sure to backup everything before doing this though
or shoot me a pm i can probably do this for you for a small fee
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Can you please explain how to make this change, i mean i use the theme menu option and i do not type the url i just insert the category and that's allopencartmart wrote: ↑Fri Jan 17, 2020 3:32 pmThere are many hardcoded HTTP URLs in your store. You first correct those URLs.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
1. First, Make sure you have set https URL in both config file
2. If the config files are correct, you can try clearing the theme cache if it has any. Perhaps it keeps the old URL in their cache and showing it.
3. If the problem persist, you have to look into the code if there are any hardcoded URLs are set out there.
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
1. done thisopencartmart wrote: ↑Sat Jan 18, 2020 1:09 am1. First, Make sure you have set https URL in both config file
2. If the config files are correct, you can try clearing the theme cache if it has any. Perhaps it keeps the old URL in their cache and showing it.
3. If the problem persist, you have to look into the code if there are any hardcoded URLs are set out there.
2. cleard cache, deleted all files in theme cache folder
3. There are none hardcoded links, i mean i did not enter any link by hand, all links are generated by opencart or theme
Question is still there, why are some links working by default with https and some with http. I mean if i skipped some steps all the links should be http
Let's take it this way, if you inspect the logo you can see that the link is http://epantofaria.ro but if you click it redirects to https://epantofaria.ro
But there is another example, if you inspect any of the menu links they are all http but when you click on them you get http and not the redirect. Is like the redirect works only with domain name and not all other links. I'm a little confused.
This page shows as insecure in my browser but whynopadlock.com says it's fine:
http://epantofaria.ro/ghete-dama-moi
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
https://www.opencart.com/index.php?rout ... _license=0
If that doesn't work try this one which I find works fine:
https://www.opencart.com/index.php?rout ... load_id=37
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Users browsing this forum: No registered users and 7 guests