[SOLVED] Problems between HTTP and HTTPS
I am currently re-developing our website and have come across some issues with getting it to go to the correct pages. On the website I have a link to go to 'Accounts' this part of the website needs to be HTTPS, so i created a IIS rewrite rule that changes this part into HTTPS. Inside this works perfectly. Unfortunately when I access the website away from my network it changes the account link to HTTP, if i type in HTTPS it works fine but the link will not auto redirect.
It is all under one site in IIS as i believe that is correct with a valid certificate, and bindings for both port 80 and 443,
if anyone else has seen this or knows why this is happening, your help would be grateful.