Merge pull request #112 from silverstripe/dotcom-rewrites
More specific rewrite
This commit is contained in:
commit
f482afd0db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue