I am building a website for my company which loads over HTTP inside the company and over HTTPS outside company's network. This is a compulsion and there is no way we can avoid it. The site needs to work over both HTTP and HTTPS.
This mixed HTTP & HTTPS is giving a huge problem to us. I tried using plugins which make the URLs relative. But some URLs are still absolute and the admin panel doesn't open properly over HTTPS.
Is there any hack using which we can remove HTTP from the site URL and have just two slashes (//) in it? This will solve our problem, at least for front end.
Thanks in advance. Your help is appreciated.