From 9298f491dd2283a3d27884b07f1ce724da5ce05f Mon Sep 17 00:00:00 2001 From: 360Creators <70640509+360Creators@users.noreply.github.com> Date: Tue, 6 Aug 2024 09:29:54 +0200 Subject: [PATCH] Create How to make a custom 404 page First attempt to contribute to docs. Not sure if the image is going to work (same screenshot as in Discord) --- .../how-tos/How to make a custom 404 page | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/university/how-tos/How to make a custom 404 page diff --git a/docs/university/how-tos/How to make a custom 404 page b/docs/university/how-tos/How to make a custom 404 page new file mode 100644 index 0000000..ae219fb --- /dev/null +++ b/docs/university/how-tos/How to make a custom 404 page @@ -0,0 +1,13 @@ +When you visit a website that doesn’t exist or couldn't be found on the server because the webpage was moved or deleted, the broken link redirects to a 404 error page where a message indicating this error is shown. + +The default 404 page mentions: +# 404 Not Found + +If you want to create a customized page for this you will need to create a new page and change two things: + +1. Change Status Code from `200` to `404`. +2. Set the Dynamic Path to `/*` to select each possible outcome. +![[Pasted image 20240806092758.png]] +After that you can design the page however you like. + +If you do not want to show a 404 page error, but always refer to the homepage, you can set the redirect to `/`.