mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-06-29 07:59:40 +02:00
MINOR Fixed sapphire -> framework redir (broken during upgrade)
This commit is contained in:
parent
d50e586f7c
commit
1cc815f673
|
@ -15,6 +15,7 @@
|
|||
# Legacy rewrite from sapphire/ to framework/ namespace
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_URI} !^framework/main\.php
|
||||
RewriteRule ^sapphire/?(.*) http://doc.silverstripe.org/framework/$1 [R=301,L]
|
||||
|
||||
# DokuWiki rewrite rules: Need to happen before other rules in order to redirect /doku.php?id=<pagename>
|
||||
# to /pagename, which can then be matched by the legacy rewrite rules further down
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
# Legacy rewrite from sapphire/ to framework/ namespace
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_URI} !^framework/main\.php
|
||||
RewriteRule ^sapphire/?(.*) http://doc.silverstripe.org/framework/$1 [R=301,L]
|
||||
|
||||
# DokuWiki rewrite rules: Need to happen before other rules in order to redirect /doku.php?id=<pagename>
|
||||
# to /pagename, which can then be matched by the legacy rewrite rules further down
|
||||
|
|
Loading…
Reference in New Issue
Block a user