Redirect /tools/ to GitHub

This commit is contained in:
Alex Cabal 2020-04-14 15:41:46 -05:00
parent 3b54f138e8
commit 423c8d0535
2 changed files with 6 additions and 0 deletions

View file

@ -165,6 +165,9 @@ Define domain standardebooks.org
# Favicon rewrites
RewriteRule ^/(apple-touch|android-chrome|favicon|mstile|safari-pinned|browserconfig|manifest)([^/]+)$ /images/favicons/$1$2 [L]
# Redirect tools
RewriteRule ^/tools/?$ https://github.com/standardebooks/tools [R=302,L]
# Redirect latest version of the manual
RewriteRule ^/manual/latest(.*) /manual/index.php?url=$1 [L]

View file

@ -164,6 +164,9 @@ Define domain standardebooks.test
# Favicon rewrites
RewriteRule ^/(apple-touch|android-chrome|favicon|mstile|safari-pinned|browserconfig|manifest)([^/]+)$ /images/favicons/$1$2 [L]
# Redirect tools
RewriteRule ^/tools/?$ https://github.com/standardebooks/tools [R=302,L]
# Redirect latest version of the manual
RewriteRule ^/manual/latest(.*) /manual/index.php?url=$1 [L]