https://www.google.com/search?q=update+ ... 8&oe=utf-8
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Or, alternatively you can use cloudflare with a forced page rule, but you might still need that mod for relative assets and the header switching
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
Hi Jay,JAY6390 wrote:The simplest solution is to simply open your config file and add an 's' to the 'http://' changing it to 'https://' for all the necessary urls
I was told there were also some core files that needed to be changed for this?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>
Works beautifully but I can confirm it breaks OpenBay Pro. I even tried all workarounds which excluded openbaypro traffic (under their instruction) but to no avail. Ended up using the config.php "add an s to the http url" hack, works great. Still possible for old links to route to non ssl, and this in turn breaks font loading etc. but as long as you fix all the links and google isn't indexing old links you should be grand.herischarles wrote:You can make your whole site https secured by adding this following code in your .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>
I agree with Jay, I don't recommend anyone uses that method.paynetech wrote:Works beautifully but I can confirm it breaks OpenBay Pro.
paynetech wrote:Ended up using the config.php "add an s to the http url" hack, works great.
This is not a hack, this is a good solution.
Correct, you'll need to make sure that all 3rd party external resources you're loading are also being loaded over HTTPS. This could be fonts, JavaScript libraries, widgets etc.paynetech wrote:Still possible for old links to route to non ssl, and this in turn breaks font loading etc. but as long as you fix all the links and google isn't indexing old links you should be grand.
You should also add this to .htaccess:
Code: Select all
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Opencart specialist | Our website | Our modules
Full Site HTTPS OC v.1.5.6 - 2.1.0.2 free
http://www.opencart.com/index.php?route ... n_id=25769
Ernie
openshop.li
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
The answer's in the question - they don't get redirecteddmsims wrote:If you alter the config files and don't use a redirect how are inbound links handled ?
However, all links on the page will be https, so once they click something they'll be on https.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Did you ever solve this problem? We have the same with OpenBay broken and OB support says it is the use of SSL
David C.
I wonder if the sun is shining outside?
I have used the 'add an S to the Http in config.php' method mentioned earlier in this thread, along with
Code: Select all
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I thought that it was working fine, but for some reason now if you direct your browser to either the plain 'http' or 'www' address of my site, it no longer redirects to the https address? Once you click on a link, then the site redirects properly to https. I wouldn't be so concerned, however some parts of the site don't load properly if accessed at the non-ssl addresses.
I have tried to enter a redirect via CPanel to see if that would work, however it results in an error for excessive redirects.
The funny thing is; I went into my site and changed the config.php back to default setting, and commented out the code in htaccess, yet my site remains down with the "too many redirects" error, as long as I try to redirect at CPanel. How can I get my site to load with https:// regardless of how a visitor enters the address?
Thanks in advance!
Big Len
https://BigLensCycles.com
Quality Motorcycle ATV and UTV Parts & Accessories - Discount Prices
Users browsing this forum: No registered users and 121 guests