WebsiteBaker 2.13.9 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
RewriteEngine OnRewriteCond %{HTTPS} offRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
if(!isset($path)) return true;$linkfind = WB_URL.$path;$linkreplace = str_replace("http://","https://",$linkfind);$wb_page_data = str_replace($linkfind, $linkreplace, $wb_page_data);if ($_SERVER['SERVER_PORT']!==80) { $linkfind = WB_URL.MEDIA_DIRECT ORY; $linkreplace = str_replace("http://","https://",$linkfind); $wb_page_data = str_replace($linkfind, $linkreplace, $wb_page_data); $linkfind = WB_URL.'/modules'; $linkreplace = str_replace("http://","https://",$linkfind); $wb_page_data = str_replace($linkfind, $linkreplace, $wb_page_data); $linkfind = TEMPLATE_DIR; $linkreplace = str_replace("http://","https://",$linkfind); $wb_page_data = str_replace($linkfind, $linkreplace, $wb_page_data);}return true;