do same with config.php in admin.
edit .htaccess
find:
Options +FollowSymlinks
change to:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yoursite.com/$1 [R=301,L]
if you use www. in front of domainname make sure you put www.yoursite.com
no need to say that you will have to change yoursite.com to actual url.
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Yes it skows down a small bit especially when you have large pictures of products.Johnathan wrote:Please note that using SSL on all pages will significantly slow down page loading, so it's really not recommended unless all pages NEED to be over SSL.
And yes we need a serverupgrade to compensate for it as traffic is growing now.
But definitly worth it just that little more insurance and trust to customers especially here in the netherlands.
Sales went up with more than 10%
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Thanks very much. I have tried this but now I'm getting "Secure Connection Failed" error.victorj wrote:open config.php in root af site and change all http to https
do same with config.php in admin.
edit .htaccess
find:
Options +FollowSymlinks
change to:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yoursite.com/$1 [R=301,L]
if you use www. in front of domainname make sure you put http://www.yoursite.com
no need to say that you will have to change yoursite.com to actual url.
ThanksSecure Connection Failed
An error occurred during a connection to http://www.mysite.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
Matt
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://yoursite.com/');
// HTTPS
define('HTTPS_SERVER', 'https://yoursite.com/');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://yoursite.com/admin/');
define('HTTP_CATALOG', 'http://yoursite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://yoursite.com/admin/');
define('HTTPS_CATALOG', 'http://yoursite.com/');
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
I want to set up ssl for all pages in OC 1.5.6.4.
At this time green padlock appears correctly only on checkout page and in admin.
I've asked our domain and hosting provider (123-reg.co.uk) about our exact domain name
"The SSL has to be purchased for http://www...co.uk which will cover the naked domain too salamitrade.co.uk
You will have to use http://www...co.uk"
.htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=off
RewriteRule ^/?(checkout|account|admin) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^site\.co\.uk [NC]
RewriteRule ^(.*)$ https://www.site.co.uk/$1 [R,L]
config.php
// HTTP
define('HTTP_SERVER', 'https://www.site.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.site.co.uk/');
define('HTTPS_IMAGE', 'https://www.site.co.uk/image/');
/admin/config.php
// HTTP
define('HTTP_SERVER', 'https://www.site.co.uk/admin/');
define('HTTP_CATALOG', 'https://www.site.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://www.site.co.uk/admin/');
define('HTTPS_CATALOG', 'https://www.site.co.uk/');
define('HTTPS_IMAGE', 'https://www.site.co.uk/image/');
In backend Use SSL is set to YES.
What should I change so that the green padlock appears before all pages link in url bar - no only on checkout page?
Thank you!
Attachments
admin&checkout pages green padlock, other pages grey padlock - ssl.png (30.85 KiB) Viewed 37303 times
Code: Select all
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.salamitrade.co.uk/$1 [R=301,L]
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Shameless plug: The good news is that we made a mod that does all of that on a multistore basis without touching htaccess: http://www.opencart.com/index.php?route ... n_id=19396
2.x version coming soon, the cost is worth it for the hour or more of time saved messing around trying to DIY it all or learn about headers. Drop it in, good to go.
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yoursite.com/$1 [R=301,L]
I have seen this rule written with '[R=301],L' and also just '[R,L]'. Which version is best?
I'd use the following to redirect from http to https ...gtoc wrote:Hi,
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yoursite.com/$1 [R=301,L]
I have seen this rule written with '[R=301],L' and also just '[R,L]'. Which version is best?
Code: Select all
#Rewrite to HTTPS:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
[R=301,L] is best
[R=301],L looks wrong to me as L isn't inside flag area [ ] and would probably cause an error
[R,L] will set redirect as a 302 / temporary redirect which might work for a specific short-term purpose but not a good idea
Simon
Can anyone Help me with this...
I am trying this in .htaccess to redirect my site from http to https
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
frontend is working fine but i am unable to login in dashboard
when i am trying to login it's just refreshing page.
Please if anyone can help me out with this I will be very thankful.
Attachments
.htaccess file - screencapture-sg3plvcpnl287579-prod-sin3-secureserver-net-2083-cpsess6379814856-frontend-paper-lantern-filemanager-editit-html-2019-09-11-15_17_14.png (91.99 KiB) Viewed 11002 times
Users browsing this forum: Bing [Bot] and 14 guests