Guorilla Posted September 27, 2015 Share Posted September 27, 2015 Hello, First to say, yes I know I can upgrade but there's too much custom coding done to our site to get this done easily. So that's why were still working with 1.5.4. I'm trying to get our webshop (www.babynatura.nl) to work in HTTPS so that our customers can shop in a secure webshop. I've tried several ways to get the whole site working in HTTPS, but I'm still facing some problems... At this moment I've got the secure shop surrounding enabled in the admin backed, so all account and cart functions work in a secure connection. When I try to give the whole webshop a secure connection for our customers, the problems begin. It seems I can't get it done fully: Through .htaccess as mentioned in a lot of forum posts things aren't working good, for instance categories are getiing a strange redirect addition in the url and then a 404 page is showing up. What seems to work is the following code change in classes/Tools.php: public static function getShopDomain($http = false, $entities = false) { if (!$domain = ShopUrl::getMainShopDomain()) $domain = Tools::getHttpHost(); if ($entities) $domain = htmlspecialchars($domain, ENT_COMPAT, 'UTF-8'); if ($http) //$domain = 'http://'.$domain; $domain = 'https://'.$domain; return $domain; } The BIG problem then is that product pages won't show in HTTPS but still in HTTP. With all solutions that can be found and implemented the menu get's screwed up, meaning the text is shown bigger as in the non HTTPS surrounding. I don't know if this is clear enough information about my problem, hopefully someone can help me out... Thanks in advance for your time and energy... Kind regards, Marco Link to comment Share on other sites More sharing options...
FelipeGallo Posted August 5, 2016 Share Posted August 5, 2016 Same problem here, anyone? Link to comment Share on other sites More sharing options...
sibrodo Posted November 20, 2016 Share Posted November 20, 2016 Did u find a solution for this ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now