Bludit force http to https
1.Set "Site URL" from “http” to “https”
The redirect from http to https can often be set in the admin panel,just set http to https at "Settings" > "General" > "Advanced" > "Site URL".
If it cannot be modified in the admin panel, then it is necessary to directly modify the "URL" of "site. php" in the "blcontent/databases" directory.
2.Modify "index.php" in themes and add force HTTP to HTTPS code
Open the "index.php" file in the theme directory,and add the code to force HTTP to HTTPS:

