Apache 2: issue redirecting root url from http to https
I have an issue redirecting from the http site to the https site. This index.php file is in the root folder, redirecting to a suburl: <?php header("Location: /news/"); ?> the url https://www.example.com is correctly redirecting to https://www.example.com/news/ the url https://www.example.com/index.php…