Merge pull request #112 from silverstripe/dotcom-rewrites

More specific rewrite
This commit is contained in:
Cam Findlay 2016-02-16 14:51:21 +13:00
commit f482afd0db
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ ErrorDocument 500 /assets/error-500.html
<IfModule mod_rewrite.c>
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