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 on#If 404 Not Found error, go to homepageErrorDocument 404 /index.phpRewriteEngine on#If URL received with trailing slash (e.g. http://domain/test/) then go to correct page (e.g. http://domain/pages/test.php)RewriteRule ^([^.]+)/$ pages/$1.php#If URL received WITHOUT trailing slash (e.g. http://domain/test) then go to correct page (e.g. http://domain/pages/test.php)RewriteRule ^([^.]+)$ pages/$1.php#When user types in http://domain/admin or http://domain/admin/, it looks for http://domain/pages/admin.php, which doesn't exist, because of the previous rules. This corrects that.RewriteRule pages/admin.php admin/index.php