diff --git a/urls.py b/urls.py index 22286b6..d0d49a2 100644 --- a/urls.py +++ b/urls.py @@ -148,7 +148,13 @@ trogglepatterns = [ re_path(r'^(?P\d\d\d\d)(?P.*)$', cavepage, name="cavepage"), # shorthand /1623/264 or 1623/161/top.htm # Note that urls eg '/1623/161/l/rl89a.htm' are handled by cavepage which redirects them to 'expopage' # Note that _edit$ for a cave description page in a subfolder e.g. /1623/204/204.html_edit gets caught here and breaks with 404 + + # These re-enable archaic URLs which are in old web pages which are still public on other servers path('smkridge/', cavepage, {'karea': "1623/"}, name="cavepage"), + path('expo/smkridge/', cavepage, {'karea': "1623/"}, name="cavepage"), + + # Archaic, kept. This /expo/ prefix only works for expoweb HTML pages not troggle pages + path('expo/', expopage, name="expopage"), # Entrances re_path(r'^cave/entrance/([^/]+)/?$', caveEntrance), # lists all entrances !!!BAD, local links fail