I have a script that handles several different redirects on a server with a snippet that looks like follows:
if($url == "http://www.url.com")
{header("Location: https://www.url.com/index.html");}
The script works exactly as intended with one issue – all of the https redirects end up redirecting to http (versus the https as defined).
Does anyone have any ideas what may be going on?
There was something else going on with the server, but it’s been a while so I can’t remember what it was anymore.