Remove /archive/ redirects

This commit is contained in:
Oliver Davies 2025-04-17 00:11:25 +01:00
parent 7faed751c7
commit 26dbdaece2

View file

@ -2,18 +2,7 @@
@talks path_regexp ^/talks/(.*)$ @talks path_regexp ^/talks/(.*)$
@talks-archive path_regexp ^/talks/archive/(.*)$ @talks-archive path_regexp ^/talks/archive/(.*)$
# Exclude /daily/page/{number} from the /archive/* redirection
@excludeArchivePages {
path_regexp ^/archive/page/\d+$
}
@old-dailies {
path_regexp oldDailies ^/archive/(.*)$
not path_regexp ^/archive/page/\d+$
}
redir @articles /blog/{re.1} permanent redir @articles /blog/{re.1} permanent
redir @old-dailies /daily/{re.1} permanent
redir @talks-archive /presentations/{re.1} permanent redir @talks-archive /presentations/{re.1} permanent
redir @talks /presentations/{re.1} permanent redir @talks /presentations/{re.1} permanent