mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
MINOR Simplified /misc redirection
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@122181 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
88f118a924
commit
021117077b
@ -323,10 +323,11 @@
|
||||
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]
|
||||
# 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/2.3/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
RewriteRule ^sapphire/en/2.4/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
@ -321,11 +321,12 @@
|
||||
# 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]
|
||||
|
||||
# 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/2.3/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
RewriteRule ^sapphire/en/2.4/misc/?(.*) http://doc.silverstripe.org/sapphire/en/trunk/misc/$1 [R=301,L]
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
@ -347,5 +348,5 @@ ExpiresByType application/javascript "access plus 7 days"
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
SetOutputFilter DEFLATE
|
||||
SetOutputFilter DEFLATE
|
||||
</IfModule>
|
||||
|
Loading…
x
Reference in New Issue
Block a user