however all the pages are still displaying as http off google.
All other pages still use the standard http address. After all, you aren't running a banking site ;-)
Also, due to the nature of SSL, pages that are run through it will load slower than on SSL pages.
To use SSL in OpenCart 1.5.x
Turn on SSL in admin System - Settings - Server tab
Edit your config.php and admin/config.php files and change the HTTPS defines to read your https address.
You should then be good to go.
I invested in a servercertificates on multiple stores and turnover went up inmediatly on all "affected" stores, out of cost within less than a week so using ssl throughout the entire sites defenitly pays off
If you want your entire site under SSL as i do as wel you will have to add teh following lines to your htaccess
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomein.com/$1 [R=301,L]
it will force your site to run under https
It took me quiet some time to take out all the non https sent items but i succeeded.
If you run in problems you can check your site at
http://www.whynopadlock.com/
it will tell you where the faults are so you can adress them more easily
suc6 Victor
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
My site I have is 1.4.8uksitebuilder wrote:OpenCart is set-up to use the https address on sensitive pages such as login, my account and checkout
All other pages still use the standard http address. After all, you aren't running a banking site ;-)
Also, due to the nature of SSL, pages that are run through it will load slower than on SSL pages.
To use SSL in OpenCart 1.5.x
Turn on SSL in admin System - Settings - Server tab
Edit your config.php and admin/config.php files and change the HTTPS defines to read your https address.
You should then be good to go.
This is the .config file minus all the passwords
Code: Select all
<?php
// created 2010.08.05 14:44:42
// DIR
define( 'DIR_APPLICATION', '/home/content/a/x/i/axidworks/html/catalog/' );
define( 'DIR_SYSTEM', '/home/content/a/x/i/axidworks/html/system/' );
define( 'DIR_DATABASE', '/home/content/a/x/i/axidworks/html/system/database/' );
define( 'DIR_LANGUAGE', '/home/content/a/x/i/axidworks/html/catalog/language/' );
define( 'DIR_TEMPLATE', '/home/content/a/x/i/axidworks/html/catalog/view/theme/' );
define( 'DIR_CONFIG', '/home/content/a/x/i/axidworks/html/system/config/' );
define( 'DIR_IMAGE', '/home/content/a/x/i/axidworks/html/image/' );
define( 'DIR_CACHE', '/home/content/a/x/i/axidworks/html/system/cache/' );
define( 'DIR_DOWNLOAD', '/home/content/a/x/i/axidworks/html/download/' );
define( 'DIR_LOGS', '/home/content/a/x/i/axidworks/html/system/logs/' );
Code: Select all
<?php
// created 2010.08.05 14:44:42
// HTTP
define( 'HTTP_SERVER', 'http://localhost/shops/_customer/axidworks/admin/' );
define( 'HTTP_CATALOG', 'http://localhost/shops/_customer/axidworks/' );
define( 'HTTP_IMAGE', 'http://localhost/shops/_customer/axidworks/image/' );
// HTTPS
define( 'HTTPS_SERVER', 'http://localhost/shops/_customer/axidworks/admin/' );
define( 'HTTPS_IMAGE', 'http://localhost/shops/_customer/axidworks/image/' );
// DIR
define( 'DIR_APPLICATION', 'D:\server\xampp\htdocs\shops\_customer\axidworks\admin\\' );
define( 'DIR_SYSTEM', 'D:\server\xampp\htdocs\shops\_customer\axidworks\system\\' );
define( 'DIR_DATABASE', 'D:\server\xampp\htdocs\shops\_customer\axidworks\system\database\\' );
define( 'DIR_LANGUAGE', 'D:\server\xampp\htdocs\shops\_customer\axidworks\admin\language\\' );
define( 'DIR_TEMPLATE', 'D:\server\xampp\htdocs\shops\_customer\axidworks\admin\view\template\\' );
define( 'DIR_CONFIG', 'D:\server\xampp\htdocs\shops\_customer\axidworks\system\config\\' );
define( 'DIR_IMAGE', 'D:\server\xampp\htdocs\shops\_customer\axidworks\image\\' );
define( 'DIR_CACHE', 'D:\server\xampp\htdocs\shops\_customer\axidworks\system\cache\\' );
define( 'DIR_DOWNLOAD', 'D:\server\xampp\htdocs\shops\_customer\axidworks\download\\' );
define( 'DIR_LOGS', 'D:\server\xampp\htdocs\shops\_customer\axidworks\system\logs\\' );
define( 'DIR_CATALOG', 'D:\server\xampp\htdocs\shops\_customer\axidworks\catalog\\' );
I do Suppose that I would like to run the whole site in https just as a piece of mind for the customers.
I liked this very much. It worked right away. But when I tried to log into my admin section, it would force it to run through the https and I would get a not protected sign on my web bar, and it also would not let me log into the admin section. Also I was not able to add in any products into my shopping cart as well.victorj wrote:For some sites customers findt it a nice idea to surf protected, it also gives a safe feeling to a website that it is displaying the padlock.
I invested in a servercertificates on multiple stores and turnover went up inmediatly on all "affected" stores, out of cost within less than a week so using ssl throughout the entire sites defenitly pays off
If you want your entire site under SSL as i do as wel you will have to add teh following lines to your htaccess
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomein.com/$1 [R=301,L]
it will force your site to run under https
It took me quiet some time to take out all the non https sent items but i succeeded.
If you run in problems you can check your site at
http://www.whynopadlock.com/
it will tell you where the faults are so you can adress them more easily
suc6 Victor
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
It probaly has to do where in the world you do your businiss.Xsecrets wrote:I never understood the force the whole site to https thing. People act like it's something customers expect, but try to browse amazon or newegg with https, you can't, so I wouldn't say it's something customers are expecting.
I live in Holland and online shopping is relative new here compared to the states.
Also there is a lot going on to the general publit abour secure shopping, can shops be trusted and so on.
So over here investing in a shop witch runs entirely under SSL is a good investment since the great public immediatly sees that your shop is protected.
As I stated the cost to give the shops SSL including investment in dedi server, ipadresses and certificates payed back within 1 week.
So over here it certainly does the trick, mind you in about 1 to 1.5 years from now it will be law to run the part where client log in or create a acoount has to be protected.
regards Victor
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
Put a new htaccess in your admin
just use these lines
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.yourdomein.com/$1 [R=301,L]
If you get errors there are non ssl parts parsed most likely the grafics so checking the source of the page will reveal witch parts are not sent throug ssl.
Running external stats programs are interfering use the link provided it gives very usefull information where the misstakes are
make sure that in the admin of your shop config you set up the right url to your site.
victor
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
Okay well I uploaded it again and to the admin section. The admin Section worked fine now. I used that URL on the home page and got rid of all the errors. Now the product pages are still the same. I will try and run that on product pages themselves and see what errors I get.victorj wrote: Put a new htaccess in your admin
just use these lines
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.yourdomein.com/$1 [R=301,L]
If you get errors there are non ssl parts parsed most likely the grafics so checking the source of the page will reveal witch parts are not sent throug ssl.
Running external stats programs are interfering use the link provided it gives very usefull information where the misstakes are
make sure that in the admin of your shop config you set up the right url to your site.
victor
I need a little help!
I'd like my whole OpenCart shop to be SSL protected, but here is a little problem.
I using OpenCart 1.4.9.6. and SEO enabled.
I put this code the the .htaccess file:
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
It works fine, I got all pages https secured, BUT... it messing to the SEO URL-s :-(
Like:
SEO URL before the forced SSL:
http://www.mywebshop.com/goodstuff.html
and after forcing the SSL by the code:
https://www.mywebshop.com/index.php?_route_=goodstuff.html
Is anybody knows, how to fix this problem?
Thank You very much!
i am using opencart for last one year and it has been very great experience,
I want to ask a few questions to the Experienced users and developers:
> my site https://coolbeanbags.co.in is there now for almost 6/7 months. Now the situation is that earlier i was using HTTP:// protocol and the website was on 1st page of google India of certain Key-Words.
>Now we have installed a SSL certificate {COMODO- Positive SSL} and turned my whole site on HTTPS:// protocol.
>I have redirected whole website from HTTP to HTTPS protocol. everything is working fine. below are the changes i made:
1> in .htaccess file
Code: Select all
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^coolbeanbags\.co\.in$ [OR]
RewriteCond %{HTTP_HOST} ^www\.coolbeanbags\.co\.in$
RewriteRule ^(.*) https\:\/\/coolbeanbags\.co\.in\/$1 [R=301,L]
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://www.coolbeanbags.co.in/');
define('HTTP_IMAGE', 'https://www.coolbeanbags.co.in/image/');
define('HTTP_ADMIN', 'https://www.coolbeanbags.co.in/admin/');
// HTTPS
define('HTTPS_SERVER', 'https://www.coolbeanbags.co.in/');
define('HTTPS_IMAGE', 'https://www.coolbeanbags.co.in/image/');
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'https://www.coolbeanbags.co.in/admin/');
define('HTTP_CATALOG', 'https://www.coolbeanbags.co.in/');
define('HTTP_IMAGE', 'https://www.coolbeanbags.co.in/image/');
// HTTPS
define('HTTPS_SERVER', 'https://www.coolbeanbags.co.in/admin/');
define('HTTPS_IMAGE', 'https://www.coolbeanbags.co.in/image/');
> and today when i saw my WebMaster tools account for backlinks to my site, most of my links hav vanished....from 800 to 250+.....
> i want to know why this happened and what should be the right thing to do from all aspects including SEO.
Thanks
I live in Holland and the governement has done some big campains to make everyone aware of internet fraude.Qphoria wrote:why would you convert your whole site into https tho? Only the sensitive pages are meant to be https and that is done automatically. No htaccess change needed.
They explicitly informed bij big television campains that shopping should be done safely and preferebaly in shops that usses SSL protection.
Bij forcing your site to run SSL the customer inmediately sees the padlock so it gives confidence.
In my casr it increased sales with 30% so it was a good investment.
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
> My question to the GURU is ...Except for the speed part of website is there any other disadvantage of using whole site HTTPS...........i think my host is good enough and the confidence of the visitor will be boosted....
> From SEO point of view i want my site to be indexed as http... How to do that
Thanks
Too many fake websites, too many scams, too many hackers...A protected site gives people more assurance you are not dodgy.
Facebook is https and they dont even sell anything lol...well they do, but you know what I mean.
I guess as mentioned already it does depend on which country you live in. I also live in a small country and people are very security conscious due to buying off overseas sites and getting scammed so often, or not receiving their products.
I struggled for 6 months to get any sales on my website...Ive had SSL for a matter of days, my entire site is https including my admin....the way my business is regarded has pretty much instantly changed, for the better.
This worked so well for me!!!!! All links on my opencart 1.5.6 url store even my admin page is on https now. i actually did the standard setting for config and admin config files but didnt show the ssl green padlock. but after this setting everything is green lol i am so greatfulvictorj wrote: ↑Wed Dec 14, 2011 5:08 amFor some sites customers findt it a nice idea to surf protected, it also gives a safe feeling to a website that it is displaying the padlock.
I invested in a servercertificates on multiple stores and turnover went up inmediatly on all "affected" stores, out of cost within less than a week so using ssl throughout the entire sites defenitly pays off
If you want your entire site under SSL as i do as wel you will have to add teh following lines to your htaccess
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomein.com/$1 [R=301,L]
it will force your site to run under https
It took me quiet some time to take out all the non https sent items but i succeeded.
If you run in problems you can check your site at
http://www.whynopadlock.com/
it will tell you where the faults are so you can adress them more easily
suc6 Victor
. thank you so much for sharing
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R=301,L]
Search engines will ding you (penalize you) for having multiple round trips due to 30x redirects, so it's best to reduce them to just one round trip. With careful .htaccess coding, you can often do this with multiple redirects:
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R=301,L]
# if the URL came in http://mydomain.com, we're done because we already changed the host to www
# and the following rule will NOT be triggered
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
# if the URL came in https://mydomain.com, this one would have triggered INSTEAD
I added code to .httaccess as below but it is not work. Please help.
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule ^(.*)$ https://www.balloonprint.ie/$1 [R=301,L]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Users browsing this forum: Ahrefs [Bot] and 16 guests