Jump to content
Sign in to follow this  
David Ashcroft

SSL on all pages...

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.

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

careful. search engines don't crawl https pages! you'll kill your search engine optimisation.

Share this post


Link to post
Share on other sites

yeah, if http is still available then it's ok, just don't serve your entire website off of https :-)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More