Step 8: Error pages (404 Not Found).
To ensure the classy look and feel of your blog is not lost when a user hits a dead link, we need to construct a 404 page. Open 404.php and paste inside it the contents of page.php, now remove the coding we added in step 7 and you have a blank template which you can alter to create a basic 404 page telling your visitors that the url is broken/no longer exists.

