mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
MINOR Redirecting /misc docs to trunk to avoid confusion about outdated non-version-specific information
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@122179 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
75c4ae4d8f
commit
7269d24076
@ -318,6 +318,15 @@
|
||||
|
||||
# Legacy rewrite: Can't use 'master' as it confuses api.ss.org linking
|
||||
RewriteRule ^sapphire/en/master(.*) http://doc.silverstripe.org/sapphire/en/trunk$1 [R=301,L]
|
||||
|
||||
# Changelogs are just kept up-to-date on trunk
|
||||
RewriteRule ^sapphire/en/changelogs(.*) http://doc.silverstripe.org/sapphire/en/trunk/changelogs/$1 [R=301,L]
|
||||
RewriteRule ^cms/en/changelogs(.*) http://doc.silverstripe.org/cms/en/trunk/changelogs/$1 [R=301,L]
|
||||
|
||||
# Anything in sapphire/en/<version>/misc is redirected to trunk, the info in there is usually not version specific,
|
||||
# and only updated on master (e.g. contribution and coding guidelines)
|
||||
RewriteRule ^sapphire/en/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
RewriteRule ^sapphire/en/[^/]*/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
Loading…
Reference in New Issue
Block a user