1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

Merge pull request #222 from bigchaindb/fix/routing

Tweak routing rules
This commit is contained in:
Matthias Kretschmann 2018-04-16 18:55:54 +02:00 committed by GitHub
commit a2ef3ebfe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<ReplaceKeyPrefixWith>features/#usecases</ReplaceKeyPrefixWith> <ReplaceKeyWith>features/#usecases</ReplaceKeyWith>
<HttpRedirectCode>301</HttpRedirectCode> <HttpRedirectCode>301</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>
@ -31,7 +31,7 @@
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith> <ReplaceKeyWith>developers/getstarted</ReplaceKeyWith>
<HttpRedirectCode>301</HttpRedirectCode> <HttpRedirectCode>301</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>
@ -41,7 +41,7 @@
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith> <ReplaceKeyWith>developers/getstarted</ReplaceKeyWith>
<HttpRedirectCode>301</HttpRedirectCode> <HttpRedirectCode>301</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>
@ -51,7 +51,7 @@
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<ReplaceKeyPrefixWith>developers/guide/</ReplaceKeyPrefixWith> <ReplaceKeyPrefixWith>developers/guide</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode> <HttpRedirectCode>301</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>
@ -61,7 +61,7 @@
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition> </Condition>
<Redirect> <Redirect>
<ReplaceKeyPrefixWith>services/</ReplaceKeyPrefixWith> <ReplaceKeyWith>services/</ReplaceKeyWith>
<HttpRedirectCode>301</HttpRedirectCode> <HttpRedirectCode>301</HttpRedirectCode>
</Redirect> </Redirect>
</RoutingRule> </RoutingRule>