Hello,
I just started to use OC again using Installatron and noted (perhaps to late) that links in my top menu do not function. SSL is correctly installed at the server and in OC admin but also the lock in the browser top left next to the domain name centrada.eu indicate that ssl is not functional or that parts of the site like pictures are on http instead of https. I do not know how to correct this. Can anyone help me?
Hi isnet,
for https links to work correctly with opencart, you need to set both HTTP_SERVER and HTTPS_SERVER to start with https:// in config.php and admin/config.php.
Hope this helps, let us know if this doesn't resolve your issue!
Gergely
for https links to work correctly with opencart, you need to set both HTTP_SERVER and HTTPS_SERVER to start with https:// in config.php and admin/config.php.
Hope this helps, let us know if this doesn't resolve your issue!
Gergely
You have changed in both config files from http to https ?
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Hello,
Thank you both for your excellent response, appreciated! I made the changes, see below, the lock is OK now but the links in the top menu and from the one listing in the front page still give a 404.
<?php
// HTTP
define('HTTP_SERVER', 'https://www.centrada.eu/');
// HTTPS
define('HTTPS_SERVER', 'https://www.centrada.eu/');
// DIR
admin
<?php
// HTTP
define('HTTP_SERVER', 'https://www.centrada.eu/admin/');
define('HTTP_CATALOG', 'https://www.centrada.eu/');
// HTTPS
define('HTTPS_SERVER', 'https://www.centrada.eu/admin/');
define('HTTPS_CATALOG', 'https://www.centrada.eu/');
// DIR
Thank you both for your excellent response, appreciated! I made the changes, see below, the lock is OK now but the links in the top menu and from the one listing in the front page still give a 404.
<?php
// HTTP
define('HTTP_SERVER', 'https://www.centrada.eu/');
// HTTPS
define('HTTPS_SERVER', 'https://www.centrada.eu/');
// DIR
admin
<?php
// HTTP
define('HTTP_SERVER', 'https://www.centrada.eu/admin/');
define('HTTP_CATALOG', 'https://www.centrada.eu/');
// HTTPS
define('HTTPS_SERVER', 'https://www.centrada.eu/admin/');
define('HTTPS_CATALOG', 'https://www.centrada.eu/');
// DIR
Hi isnet,
It looks like an issue with your SEO urls. Have you renamed htaccess.txt to .htaccess ? (The "." at the beginning is not a typo.) You can also disable the SEO urls just to confirm this is indeed the issue before you do any changes. To do that go to Admin > System > Settings > Server and change Use SEO URLs to No.
Let us know how you proceed!
EDIT: Posted parallel to k2tec who suggests the same
It looks like an issue with your SEO urls. Have you renamed htaccess.txt to .htaccess ? (The "." at the beginning is not a typo.) You can also disable the SEO urls just to confirm this is indeed the issue before you do any changes. To do that go to Admin > System > Settings > Server and change Use SEO URLs to No.
Let us know how you proceed!
EDIT: Posted parallel to k2tec who suggests the same
Hello,
Eureka! I disabled the SEO URLs option and everything works fine! Great, thank you, I am eternally grateful! What do I do with the SEO url option now? I do not know if I am allowed to ask this here, but I want to install a marketplace plugin, I only do not know which one to choose, does anyone have any experience with a good marketplace module?
Thanks again for fantastic support!
Eureka! I disabled the SEO URLs option and everything works fine! Great, thank you, I am eternally grateful! What do I do with the SEO url option now? I do not know if I am allowed to ask this here, but I want to install a marketplace plugin, I only do not know which one to choose, does anyone have any experience with a good marketplace module?
Thanks again for fantastic support!
Do not use Installatron: viewtopic.php?f=2&t=226983
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: NicNie, opencartArab, shanghua and 424 guests