changeset 945:5b6834425a34

Update htaccess to redirect all old tune URLs to the new places.
author Jim Hague <jim.hague@acm.org>
date Tue, 06 Aug 2019 08:47:45 +0100
parents c94522186f73
children 0f4ba68d6059
files Library/htaccess Morris/htaccess Session/htaccess
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Library/htaccess	Tue Aug 06 08:47:45 2019 +0100
@@ -0,0 +1,2 @@
+RedirectMatch permanent "/Library(.*)/([A-Z].*)\.html$" "/tunes$1/$2/index.html"
+RedirectMatch permanent "/Library(.*)/learner-([A-Z].*)\.html$" "/tunes$1/$2/learner.html"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Morris/htaccess	Tue Aug 06 08:47:45 2019 +0100
@@ -0,0 +1,2 @@
+RedirectMatch permanent "/Morris(.*)/([A-Z].*)\.html$" "/tunes$1/$2/index.html"
+RedirectMatch permanent "/Morris(.*)/learner-([A-Z].*)\.html$" "/tunes$1/$2/learner.html"
--- a/Session/htaccess	Tue Aug 06 00:32:22 2019 +0100
+++ b/Session/htaccess	Tue Aug 06 08:47:45 2019 +0100
@@ -1,1 +1,3 @@
-RedirectMatch permanent "(.*)/MazurkaAvignon\.html$" "tunes/MazurkaAuvergne/index.html"
+RedirectMatch permanent "/Session(.*)/MazurkaAvignon\.html$" "/tunes$1/MazurkaAuvergne/index.html"
+RedirectMatch permanent "/Session(.*)/([A-Z].*)\.html$" "/tunes$1/$2/index.html"
+RedirectMatch permanent "/Session(.*)/learner-([A-Z].*)\.html$" "/tunes$1/$2/learner.html"