When you visit a URL 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 displays:
404 Not Found
Creating a Custom 404 Page
If you want to create a customized page for this, you will need to create a new page and change two things:
Change the Status Code from 200 to 404
Set the Dynamic Path to /* to catch all non-existent routes
After that, you can design the page however you like.
Redirecting to Homepage Instead
If you do not want to show a 404 page error but always redirect to the homepage, you can set the redirect to /.
Related
Project Settings β Configure redirects, custom code, and other project-level settings
CMS β Create dynamic pages that won't trigger 404 errors
Variables β Use system variables to customize page behavior