aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-05-13 21:23:41 +0800
committerGravatar kosayoda <[email protected]>2021-05-13 21:23:41 +0800
commit6b55d7da977b9422c344fdde9da52ed209965a05 (patch)
tree46cb2f5c4405cd3338dfefcb0520684437eaba17
parentUse temporary redirects for now. (diff)
Add disclaimer for the redirects app.
-rw-r--r--docs/README.md4
-rw-r--r--pydis_site/apps/redirect/redirects.yaml8
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md
index 2e9f15a1..5af383b4 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -11,3 +11,7 @@ This directory contains useful documentation for working with and using our site
* [Development with Docker](setup.md#development-with-docker)
* [Development with `pip`](setup.md#development-with-pip)
+
+> Note: If you're looking to add redirects to the site, the `redirects` app is **NOT** the way to go.
+> Convenience redirects should use our [Cloudflare Worker](https://github.com/python-discord/workers/tree/main/short-urls).
+> Ask in the server if you have any questions!
diff --git a/pydis_site/apps/redirect/redirects.yaml b/pydis_site/apps/redirect/redirects.yaml
index 41e56262..ce789b61 100644
--- a/pydis_site/apps/redirect/redirects.yaml
+++ b/pydis_site/apps/redirect/redirects.yaml
@@ -1,3 +1,11 @@
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+# The redirects here are for dewikification backwards compatibility
+# and SHOULD NOT be used for adding new redirects for convenience.
+#
+# Convenience redirects should be added using our cloudflare worker
+# at https://github.com/python-discord/workers/tree/main/short-urls
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
# Root pages
roles_redirect:
original_path: pages/roles/