WebsiteBaker 2.13.8 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 OnRewriteBase /## Set an errordocument that will be shown if one of the reserved folders are used.ErrorDocument 404 '<h1>Page not found</h1>'## make google_sitemap.php available as sitemap.xmlRewriteRule ^sitemap.xml$ /google_sitemap.php [L]## rewrite to force httpsRewriteCond %{HTTPS} offRewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]## rewrite to include www RewriteCond %{HTTP_HOST} !^www\.RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]## If old url's are called directly - redirect to short url versionRewriteCond %{REQUEST_URI} !/pages/intro.phpRewriteCond %{REQUEST_URI} /pagesRewriteRule ^pages/(.*).php$ /$1/ [R=301,L]## Send the request to the short.php for processingRewriteCond %{REQUEST_URI} !^/(pages|admin|framework|include|languages|media|modules|account|search|temp|templates|var)/.*$RewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^([\/\sa-zA-Z0-9._-]+)$ short.php?_wb=$1 [QSA,L]