From 31d5ba58987f835812e60084ddada1edef6ce5eb Mon Sep 17 00:00:00 2001 From: Cam Findlay Date: Tue, 16 Feb 2016 14:26:10 +1300 Subject: [PATCH] More specific rewrite --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 6b3a9dd..5098b6a 100644 --- a/.htaccess +++ b/.htaccess @@ -29,7 +29,7 @@ ErrorDocument 500 /assets/error-500.html RewriteEngine On - RewriteCond %{HTTP_HOST} ^(.*).silverstripe.com$ [NC] + RewriteCond %{HTTP_HOST} ^docs?.silverstripe.com$ [NC] RewriteRule ^(.*)$ https://docs.silverstripe.org/$1 [L,R=301] # Legacy rewrite from sapphire/ to framework/ namespace