Answer the question
In order to leave comments, you need to log in
Switching to SSL opencart. CNC problem. How to fix?
Hello! I decided to transfer OpenCart to ssl from letsencrypt, but there were problems. In config.php and /admin/config.php I changed from http to https, then enabled ssl support in the settings. Everything more or less turned out, but there is one BUT
. I have the CNC configured and let's say there is a category /bean-boozled/, that is, for example jbcandy.ru/bean-boozled/.
Pages have style paths, for example:
<script src="catalog/view/theme/theme654/js/jquery.ui.totop.js">
/bean-boozled/catalog/view/theme/theme654/js/jquery.ui.totop.js, and the entry in html looks like this
<script src="catalog/view/theme/theme654/js/jquery.ui.totop.js">, but clicking on the link in the inspector opens the file along the path
/bean-boozled/catalog/view/theme/theme654/js/jquery.ui.totop.js.
Answer the question
In order to leave comments, you need to log in
give the normal base tag to the template and everything will be ok
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question