 Hi, and welcome to Learn WordPress. In today's session, we are going to look at how we can personalize our 404 template. A 404 page is also known as an error page or page not found. It is the content a user sees when they try to reach a non-existent page on your website. Most people who land on a default 404 page will probably leave your site immediately. An unattractive or unengaging 404 page leads to poor user experience. It increases the bounce rate of your site and will therefore negatively impact your SEO. The quicker you can lead a visitor to the right place the better as this example. If you create an engaging 404 page, you will hopefully ensure that visitors stay and delve deeper into your site. It is therefore important to create a custom 404 page and think of ways you can draw visitors attention or even use humor. I love this example from Pixar as it just makes you smile. I also think Tendry got it right by using an attention grabbing image, humor and a go to home page button. Now I would like to show you two different ways that you can create a custom 404 page. In the first example, I am going to use a cover block and in the second example, I will use patterns. At the moment, I have selected the default 404 template with my header, footer and then the 404 message. To change that, let's make our way to the dashboard, hover over appearance and then click on editor. This will take you to the site editor where you can edit templates. Click on the site icon or WordPress icon, open templates and select the 404 template. In this example, I am going to use a cover block to create a new 404 page. So open your list view and remove the header, the group and the footer and now add your cover block and select the relevant image from your media library. Next, enlarge the cover block and then insert a columns block with two equal columns. On the right hand side, add a navigation block and select a menu that you've created and change the alignment to right. In the left column, I will firstly add a heading block and then I will write the message keep calm and make sure to check your oxygen levels. So that we are going to add a buttons block and write go to the home page as we want to direct people back to our website. Make the text bold and change the background color to white and the text to black. Then we can change the border radius of the buttons block to 100 pixels to give it a rounded style. Right after, I am going to insert a spacer block. So once I have added the spacer block, I am going to enlarge it to push the information on the left to the bottom and the navigation block to the top of the page. The next step is to select your navigation block and to use your sidebar settings to change the size to large. Lastly, I will open up the list view to ensure that I select the cover block and then change the padding of the block to 120 pixels to make sure I add more space around the text. When I close the list view and sidebar settings, I can see that the spacer block needs to be enlarged slightly more. And then once you click save, we can make our way back to the front end of the website, refresh the page and here you have your new custom 404 page created by using a cover block. If you are not happy with your changes, you can go back to templates and click on the three vertical dots next to the 404 template and select clear customizations. And now if you open up the 404 template, you will notice that it has reverted back to its original state. In the next example, we are going to use patterns to create a custom 404 page. So once again, I will open the list view and remove the header, group and footer. Next I'm going to make my way to WordPress.org dash patterns. And in this case, we are after a 404 pattern. And once you find the pattern that appeals to you, you can merely copy and paste it into your page or template. I really like this design, but I also want to add some more elements to the pattern. Firstly, I'm going to highlight the text below the 404 heading and change the size to 30 pixels. Then I'm going to add a spacer block and change the height to 40 pixels. And below that, I will add a buttons block. I will add the text, take me home, make the text bold, change the alignment to center, change the background to black, and the radius to 100 pixels. Below that, I will add another spacer block, change the height to 40 pixels, and then add a search block below the spacer block. Once I've added the search block, I will change the search button to display the search icon or magnifying glass and change the background color to black and the radius of the block to 100 pixels. Lastly, I will use my list view to ensure that I select the entire group, click on the three vertical dots and select insert after. Now I would like to add a footer to finish my design off. So once I've selected the footer block, I will look for a pattern that appeals to me and the one I'm after is called footer with social links and copyright. Once inserted, I would like to change the background color of the footer block to the same as the pattern above. So to do that, I will select the parent group, go to background color, click on custom and copy the hex code of the color used. And now I will click on my footer block, go to background color, click on custom and then paste the hex code that I just copied. And now the group block and the footer block have the same color. Next, I'm going to open up my list view, click on social icons and insert a paragraph before. Then I will add my navigation block and select one of the menus that I've already created and change the alignment to center. And right at the bottom, I will add my site title and change the alignment to center. And lastly, I'm going to select the 404 pattern as well as the footer pattern and stack them together to create that space in between. Once saved, we can make our way to the front end of the website. You see our 404 page in action. And all thanks to patterns. If you're using a theme that does not provide a built-in 404 template, you will have to create a 404.php file and add it to your WordPress theme folder. I hope you enjoy personalizing your own 404 template and visit Learn WordPress for more tutorials and training material.