https://docs.joomla.org/index.php?title=Switching_between_HTTP_and_HTTPS&feed=atom&action=historySwitching between HTTP and HTTPS - Revision history2015-03-03T21:31:25ZRevision history for this page on the wikiMediaWiki 1.23.7//docs.joomla.org/index.php?title=Switching_between_HTTP_and_HTTPS&diff=26304&oldid=prevMandville: New page: {{underconstruction}}{{review}} For setting up the certificate, the simplest way is to get your host to do it for you. Once you've bought a Dedicated IP and SSL certificate, simply ask yo...2010-03-26T10:52:49Z<p>New page: {{underconstruction}}{{review}} For setting up the certificate, the simplest way is to get your host to do it for you. Once you&#039;ve bought a Dedicated IP and SSL certificate, simply ask yo...</p>
<p><b>New page</b></p><div>{{underconstruction}}{{review}}<br />
For setting up the certificate, the simplest way is to get your host to do it for you. <br />
Once you've bought a Dedicated IP and SSL certificate, simply ask your host to help and they will get it signed and install it in the correct location for you. Once it's done, you should be able to manually enter HTTP or HTTPS on any page.<br />
<br />
If you're also asking how to automatically switch between HTTP and HTTPS depending on which page you're on, most of the work is done for you if you set your SECUREURL correctly in your VirtueMart configuration (i.e. set to https://yourdomain.com). If you have other pages on your site that you want to be secured (as I do), then you can handle these through your .htaccess. As an example, to switch from HTTP to HTTPS on any page that has 'abc/def' or 'ghi' in the URL, add something like this:<br />
<br />
Code:<br />
&lt;pre&gt;RewriteCond %{HTTPS} off<br />
RewriteRule ^(abc/def|ghi)(.*)/?$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]&lt;/pre&gt;<br />
<br />
<br />
... and to switch from HTTPS back to HTTP on any page that has 'home' or 'help' in the URL, do something like this:<br />
<br />
Code:<br />
&lt;pre&gt;<br />
RewriteCond %{HTTPS} on<br />
RewriteRule ^(home|help)(.*)/?$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]&lt;/pre&gt;</div>Mandville