Switching bewtween HTTP and HTTPS

I have InstantSSL Pro; HTML, Apache, MySQL, PHP. I have searched the forum and I apologize if I missed a post but I cannot find an answer to my dilemma. I would be grateful for some advice as to how to handle this.

I am struggling to understand the best way to handle simply adding a link from a non-secure page (HTTP) to another page that should be secured (HTTPS)? You cannot switch protocols unless you provide an absolute URL. To make things worse, browsers download pages referenced by a relative URL with the same protocol as the last request.

Do I have to use absolute URLs throughout my entire site? Being forced to use absolute URLs for internal links in my Web site is less than appealing. Are there any other options to avoid the security error message, “This page contains both secure and nonsecure items”?

Thank you in advance for any advice you may offer.


You could use Apache to force HTTPS on a certain pages.

This question is best suited for the Apache Users Mailing List though.