Client is running WordPress 3.9 on a Mac OS X Server install. We want the site to be responsive to both http and https requests. Luckily, OS X Server has a nifty feature where we can just set up a https instance for the domain, point it at the same folder, and away we go.
The problem is that while most of the links on the site default to https when https is used in the requested URL, some of the links are hard-coded to http, so if someone clicks on those links, they'll be taken out of the secure site. Better yet, links to external sites may have to be http -- but we want all internal links to stick with https when that's the incoming request.
What's the easiest way to accomplish this? Am I looking at hacking the links database? A plugin? I'm aware of the various https plugins, but we don't need anything that affects serving https -- that's already being handled by Apache and OS X Server. Thanks in advance.