Jump to content

SSL on all pages...


Guest

Recommended Posts

It is possible, but unnecessary to have SSL on all your pages. Try changing the following code on lines 116-117 of init.php:

$protocol = 'http://';
$protocol_ssl = 'https://';



I would expect if you changed the http:// to https:// that everything would become https:// instead of just the registration, checkout and contact pages.

To do so for certain products and categories only would be more difficult, but I don't understand why you would want to do it.

Link to comment
Share on other sites

Thanks Rocky!

This worked :)

I wanted SSL on all pages because in my browser (Firefox) if all the links on the pages do not have the https:// protocol then the blue bar next to the URL saying it is secure does not show.

This did fix the problem.

thanks :)

Link to comment
Share on other sites

  • 1 year later...

Hi,

It seems that a huge refactor has been made since this post. I need to do the same thing, but now there is no init.php nor $protocol defined; Is there any solution for the new engines to do so?

I think that a global flag would be interesting for this purpose in settings. Obviously this type of configurations are for private testing; at least I want to do it combined with basic authentication.. that's the point.

Cheers

Link to comment
Share on other sites

  • 1 year later...

id like to have whole site ssl to show the lock symbol and color coded secureness.

1.) im worried about crawlers not going thru ssl pages..

2.) also easiest way to make whole site ssl. including the getpagelinks for forms, etc..

 

in .htaccess i used :

 

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://domain.com/$1 [R,L]

 

and seems to work fine with site exept for my links to category pages(with friendly url).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...