If a customer requests a site on your website that does not exist, WordPress will show them a 404 error website page.
Kudos for this post it can be in fact a whole tutorial for WordPress maintenance, essential read https://nevewyvq419493.snack-blog.com/29685312/the-greatest-guide-to-seo-and-wordpress-maintenance