summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Bruni <fede@inventati.org>2016-04-18 13:55:25 +0200
committerFederico Bruni <fede@inventati.org>2016-04-19 18:09:41 +0200
commitdb7e97a335cb827e2064110543b9d88000420588 (patch)
tree98438f19eada934e8e41df97d2a683ca2c290413
parentb184142c53b8139a2535df1d2049129d61878d61 (diff)
issue 2212: add main doc/ redirects to .htaccess
-rw-r--r--Documentation/web/server/lilypond.org.htaccess9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/web/server/lilypond.org.htaccess b/Documentation/web/server/lilypond.org.htaccess
index 29d9028411..9060d0709a 100644
--- a/Documentation/web/server/lilypond.org.htaccess
+++ b/Documentation/web/server/lilypond.org.htaccess
@@ -49,9 +49,12 @@ RedirectMatch ^/stable /doc/stable
# the new website has a dedicated page for development.
#RedirectMatch ^/development /doc/development
-#old# default doc dir
-RedirectMatch ^/doc/*$ /doc/v2.18
-# make attempt at `latest' symlink avoid ^v catch-all doc fix rule below
+# Main doc URL redirects
+RedirectMatch ^/doc/?$ /manuals
+RedirectMatch ^/doc/stable/?$ /manuals
+RedirectMatch ^/doc/development/?$ /development
+
+# Allow to use deep links to latest stable or development docs
RedirectMatch ^/doc//*latest/*(.*)$ /doc/v2.19/$1
RedirectMatch ^/doc//*development/*(.*)$ /doc/v2.19/$1
RedirectMatch ^/doc//*stable/*(.*)$ /doc/v2.18/$1