What can I do to automatically load all pages of the site in https instead of just the checkout and account pages?
Would this be unwise for any reason?
thanks!
u just need edit your config.php in admin folder and the same config.php in your OC roothillfingerr wrote:Hi,
What can I do to automatically load all pages of the site in https instead of just the checkout and account pages?
Would this be unwise for any reason?
thanks!
this two line :
// HTTPS
define('HTTPS_SERVER', 'http://
define('HTTPS_CATALOG', 'http://
change in :
// HTTPS
define('HTTPS_SERVER', 'https://
define('HTTPS_CATALOG', 'https://
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OSWorX, can you please elaborate on what I need to make this happen?
Thanks in advance.
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
for admin config.php rename this two line
<?php
// HTTP
define('HTTP_SERVER', 'http:
define('HTTP_CATALOG', 'http:
rename in :
// HTTP
define('HTTP_SERVER', 'https:
define('HTTP_CATALOG', 'https:
--------------------------------------------------------------------
for root config.php
<?php
// HTTP
define('HTTP_SERVER', 'http:
rename in
<?php
// HTTP
define('HTTP_SERVER', 'https:
try this i'm not sure
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
https://www.opencartitalia.org
Consulenza,Sviluppo Extension per: Opencart,Magento,Prestahop,Wordpress,Ocart,Zencart,Joomla,Multimerch e SEO Specialist Certified
Info e Contatti
If your running the whole site in https there might be certaing content that is considered unsecure and automatically blocked therefore loosing functionality. I'm guessing that's why opencart restricted the use of https to just the user account and the checkout process.
Here's an extract from Chrome:
"If you're visiting a site via a secure connection, Google Chrome will verify that the content on the webpage has been transmitted safely. If it detects certain types of content on the page coming from insecure channels, it can automatically prevent the content from loading and you'll see a shield icon Insecure content shield icon appearing in the address bar. By blocking the content and possible security gaps, Chrome protects your information on the page from falling into the wrong hands."
Best regards,
Gabriel
In www/your-oc-install/htaccess, mask all temp urls then tell the http_host that it should resolve to https:
Code: Select all
RewriteCond %{HTTP_HOST} ^store\.example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.store\.example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^store\.com$
RewriteRule ^(.*)$ "https\:\/\/www\.store\.com\/$1" [R=301,L]
RewriteCond %{HTTPS_HOST} ^store\.example\.com$ [OR]
RewriteCond %{HTTPS_HOST} ^www\.store\.example\.com$ [OR]
RewriteCond %{HTTPS_HOST} ^store\.com$
RewriteRule ^(.*)$ "https\:\/\/www\.store\.com\/$1" [R=301,L]
A note about Chrome not loading insecure content or making the yellow broken lock -- be sure to prefix your images/media/calls/etc with either an "https://" to ONLY load via SSL, or use "//" to let it pick and choose between SSL or normal http mode. If configs are set right, and https:// defined there, utility or json urls should accent this correctly.
So a call for an image in code would look like:
SSL Always => https://www.example.com/image/data/my-image.png
SSL On Demand => //www.example.com/image/data/my-image.png
SSL Never => http://www.example.com/image/data/my-image.png
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
when I do, all I get is 'page cannot be found!' and am unable to save it
What is causing this?
Users browsing this forum: No registered users and 84 guests