I have our login page setup under SSL using apache and use the destination variable to redirect the Drupal login form to our homepage

Example URL of our Drupal login form:
https://www.mydomain.com/login/?destination=

The problem is, this redirects to https://www.mydomain.com instead of http://www.mydomain.com

Is there a way (preferrably without having to add another module to our site) to allow for the login form to be under SSL, but then redirect the user to a regular http:// address?

Comments

rgraves’s picture

The example URL above should be:
https://www.mydomain.com/login/?destination=<front>

If anyone knows how to get it to redirect to http://www.mydomain.com after login instead of https://www.mydomain.com, please let me know.

Rob

PeterFawcett’s picture

Https is the only way you can have encryption through the standard protocols. There is no encryption at all with http, just https. You always want redirection to https if you want ssl. There's no other way.