May 16th, 2009Problems Using Absolute Paths with SSL
Problems Using Absolute Paths with SSL
If you are borrowing use of an SSL certificate, such as the one provided free of charge to Internet Connection customers, when a webpage changes from http protocol to https (SSL), if you embed any images by absolute paths without domain names (/images/o.jpg), they will be broken.
If you embed images with full URL absolute paths (http://yourdomain.com/images/o.jpg), the images will show up, but the user will get warning messages that the page is a mix between secure and non-secure items.
On web pages that make transitions between http and https, one should use relative paths to avoid these problems.
Related posts:








