Hi,
Not sure if this is possible but thought I'd ask/discuss it here...
Right, I am getting to a stage with my website where I feel an ssl certificate would benefit my customers (I currently use PayPal so it's not required but think it would boost confidence). The trouble is that the way my site has been created there are several places (that would be accessed via https://) where I have had to link to images with their full url instead of relative (eg
http://www.site.com/images/image1.gif). This is something that I cannot change due to various software limitations.
Now, is there a way to do this with Javascript...
Look at the url that has been accessed. If it begins with http:// make no changes, but if it begins with https:// change all the links that contain (for example)
http://www.sitename.com/images/ to
https://www.sitename.com/images/.
I would think this could be done but can't be sure and don't have a clue how it would be done!
This is something that would fix a lot of re-designing on my site and would stop users getting unsecure item messages.
Any help would be appreciated.
Simon