I would like to test on load if the current URL is SSL or not, if so redirect to SSL. What's the best approach? There are pages that will not require SSL.

Thanks!