MINOR Added framework -> sapphire redirect

git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@122555 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2012-04-30 07:43:46 +00:00
parent 2114ee16df
commit cd50c17c6d
2 changed files with 6 additions and 0 deletions

View File

@ -329,6 +329,9 @@
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]
# TODO Rename all "sapphire" references to "framework". Until then, simply redirect.
RewriteRule ^framework/(.*) http://doc.silverstripe.org/sapphire/$1 [R=301,L]
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|js|png|swf|txt)$

View File

@ -328,6 +328,9 @@
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]
# TODO Rename all "sapphire" references to "framework". Until then, simply redirect.
RewriteRule ^framework/(.*) http://doc.silverstripe.org/sapphire/$1 [R=301,L]
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|js|png|swf|txt)$