diff --git a/.htaccess b/.htaccess index 4b3d74e..1f4e630 100644 --- a/.htaccess +++ b/.htaccess @@ -16,6 +16,10 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^framework/main\.php RewriteRule ^sapphire/?(.*) http://doc.silverstripe.org/framework/$1 [R=301,L] + + #Rewrite framework to the new base url + RewriteCond %{REQUEST_URI} ^framework/en/ + RewriteRule ^framework/en/(.*)$ /en/$1 [R=301,NC,QSA,L] # DokuWiki rewrite rules: Need to happen before other rules in order to redirect /doku.php?id= # to /pagename, which can then be matched by the legacy rewrite rules further down