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
(works not with the Rev's > 1532)
It is a installation in a subfolder. This subfolder will correctly displayed in the link-target (mouseover) in the backend, but not in the url of the called page.
RewriteEngine On# If called directly - redirect to short url versionRewriteCond %{REQUEST_URI} pagesRewriteRule ^pages/(.*).php$ /$1/ [R=301,L]# Send the request to the short.php for processingRewriteCond %{REQUEST_URI} !^/(pages|admin|framework|cgi-bin|include|languages|media|account|search|temp|templates/.*)$RewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^([\/\sa-zA-Z0-9._-]+)$ short.php?_page=$1 [QSA]
# If called directly - redirect to short url versionRewriteCond %{REQUEST_URI} pagesRewriteRule ^pages/(.*).php$ /$1/ [R=301,L]
# If called directly - redirect to short url versionRewriteCond %{REQUEST_URI} wb/pagesRewriteRule ^wb/pages/(.*).php$ /wb/$1/ [R=301,L]
$wb_page_data = str_replace(WB_URL.PAGES_DIRECTORY, WB_URL, $wb_page_data);return true;
RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !^/pages/RewriteRule ^(.*)$ /pages/$1 [QSA,L]
RewriteEngine OnRewriteCond %{ENV:REDIRECT_STATUS} !200RewriteCond %{REQUEST_URI} pages/RewriteRule ^pages/(.*)$ /$1 [R=301,L]RewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !^/pages/RewriteRule ^(.*)$ /pages/$1 [QSA,L]