{"id":12178,"date":"2025-03-19T04:03:42","date_gmt":"2025-03-19T04:03:42","guid":{"rendered":"https:\/\/www.acmethemes.com\/blog\/?p=12178"},"modified":"2025-03-19T04:20:51","modified_gmt":"2025-03-19T04:20:51","slug":"how-to-create-a-custom-404-page-template-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/","title":{"rendered":"How to Create a Custom 404 Page Template in WordPress (2 methods)"},"content":{"rendered":"<p>A 404 error page is displayed when a user tries to access a page that doesn\u2019t exist on your website. By default, WordPress provides a basic 404 page, but it often lacks creativity and doesn\u2019t align with your website\u2019s design or branding. Creating a custom 404 page can improve user experience, reduce bounce rates, and even provide helpful navigation options to keep visitors engaged.<\/p>\n<p>In this article, we\u2019ll explore two methods to create a custom 404 page template in WordPress:<\/p>\n<ol start=\"1\">\n<li><strong>Using a Theme Builder or Page Builder Plugin<\/strong><\/li>\n<li><strong>Creating a Custom 404 Template File Manually<\/strong><\/li>\n<\/ol>\n<p>Let\u2019s dive into each method in detail.<\/p>\n<div>\n<hr \/>\n<\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a031bcd212f5\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a031bcd212f5\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Method_1_Using_a_Theme_Builder_or_Page_Builder_Plugin\" >Method 1: Using a Theme Builder or Page Builder Plugin<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_1_Access_Your_Theme_Files\" >Step 1: Access Your Theme Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_2_Create_a_New_Page_for_Your_404_Template\" >Step 2: Create a New Page for Your 404 Template<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_3_Design_Your_404_Page\" >Step 3: Design Your 404 Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_4_Save_and_Publish_the_Page\" >Step 4: Save and Publish the Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_5_Set_the_Page_as_Your_404_Template\" >Step 5: Set the Page as Your 404 Template<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Method_2_Manually_Creating_a_Custom_404php_File\" >Method 2: Manually Creating a Custom 404.php File<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_1_Locate_or_Create_the_404php_File\" >Step 1: Locate or Create the 404.php File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_2_Edit_the_404php_File\" >Step 2: Edit the 404.php File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_3_Style_the_404_Page_Optional\" >Step 3: Style the 404 Page (Optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Step_4_Upload_and_Test\" >Step 4: Upload and Test<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Tips_for_Designing_an_Effective_404_Page\" >Tips for Designing an Effective 404 Page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Using_a_Theme_Builder_or_Page_Builder_Plugin\"><\/span>Method 1: Using a Theme Builder or Page Builder Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This method is ideal for users who are not comfortable with coding or want a quick and easy way to create a custom 404 page. Popular page builders like Elementor, Divi, or Beaver Builder allow you to design a 404 page visually.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Access_Your_Theme_Files\"><\/span><strong>Step 1: Access Your Theme Files<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol start=\"1\">\n<li>Go to\u00a0<strong>Appearance &gt; Theme File Editor<\/strong>\u00a0in your WordPress dashboard.<\/li>\n<li>Alternatively, use an FTP client or your hosting file manager to access your theme files.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Create_a_New_Page_for_Your_404_Template\"><\/span>Step 2: Create a New Page for Your 404 Template<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol start=\"1\">\n<li>Go to\u00a0<strong>Pages &gt; Add New<\/strong>.<\/li>\n<li>Give your page a title, such as \u201c404 Page\u201d.<\/li>\n<li>Click\u00a0<strong>Edit with Elementor<\/strong>\u00a0(or your preferred page builder).<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Design_Your_404_Page\"><\/span>Step 3: Design Your 404 Page<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Using the drag-and-drop interface, design your 404 page. You can add elements like:<\/p>\n<ul>\n<li>A friendly message (e.g., \u201cOops! That page can\u2019t be found.\u201d)<\/li>\n<li>A search bar to help users find what they\u2019re looking for.<\/li>\n<li>Links to popular pages or your homepage.<\/li>\n<li>Custom graphics or animations to make the page visually appealing.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Save_and_Publish_the_Page\"><\/span>Step 4: Save and Publish the Page<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you\u2019re satisfied with your design, click\u00a0<strong>Publish<\/strong>\u00a0to save the page.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Set_the_Page_as_Your_404_Template\"><\/span>Step 5: Set the Page as Your 404 Template<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To assign this page as your 404 template, you\u2019ll need a plugin like\u00a0<strong>404page<\/strong>. Here\u2019s how:<\/p>\n<ol start=\"1\">\n<li>Install and activate the\u00a0<strong>404page<\/strong>\u00a0plugin from the WordPress repository.<\/li>\n<li>Go to\u00a0<strong>Settings &gt; 404 Error Page<\/strong>.<\/li>\n<li>Select the page you created (e.g., \u201c404 Page\u201d) from the dropdown menu.<\/li>\n<li>Click\u00a0<strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p>Now, when a user encounters a 404 error, they\u2019ll see your custom-designed page.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Manually_Creating_a_Custom_404php_File\"><\/span>Method 2: Manually Creating a Custom 404.php File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For those who prefer coding, manually creating a <strong>404.php<\/strong> file gives more control over the design and functionality.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Locate_or_Create_the_404php_File\"><\/span>Step 1: Locate or Create the 404.php File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>By default, WordPress themes include a <strong>404.php<\/strong> file inside the theme folder. If your theme lacks one:<\/p>\n<ul data-spread=\"false\">\n<li>Go to <strong>wp-content\/themes\/your-theme\/<\/strong>.<\/li>\n<li>Create a new file and name it <strong>404.php<\/strong>.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Edit_the_404php_File\"><\/span>Step 2: Edit the 404.php File<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Open the file in a code editor and customize it. Here\u2019s a basic template:<\/p>\n<pre><code>&lt;?php get_header(); ?&gt;\r\n\r\n&lt;div class=\"error-404 not-found\"&gt;\r\n    &lt;h1&gt;Oops! Page Not Found&lt;\/h1&gt;\r\n    &lt;p&gt;It looks like nothing was found at this location. Try searching or go back to the &lt;a href=\"&lt;?php echo home_url(); ?&gt;\"&gt;homepage&lt;\/a&gt;.&lt;\/p&gt;\r\n    &lt;?php get_search_form(); ?&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Style_the_404_Page_Optional\"><\/span>Step 3: Style the 404 Page (Optional)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To enhance the appearance, add custom CSS in <strong>style.css<\/strong>:<\/p>\n<pre><code>.error-404 {\r\n    text-align: center;\r\n    padding: 50px;\r\n    font-size: 18px;\r\n}\r\n.error-404 a {\r\n    color: #0073aa;\r\n    text-decoration: underline;\r\n}<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Upload_and_Test\"><\/span>Step 4: Upload and Test<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul data-spread=\"false\">\n<li>Save the changes and upload the file to your theme folder.<\/li>\n<li>Visit a non-existent URL on your website (e.g., <code>yoursite.com\/randompage<\/code>) to test your new 404 page.<\/li>\n<\/ul>\n<p>This method is great for developers who want full control over their custom 404 page.<\/p>\n<div>\n<hr \/>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Tips_for_Designing_an_Effective_404_Page\"><\/span>Tips for Designing an Effective 404 Page<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Keep it Simple:<\/strong>\u00a0Avoid overwhelming users with too much information.<\/li>\n<li><strong>Add Navigation:<\/strong>\u00a0Include links to your homepage, popular posts, or a search bar.<\/li>\n<li><strong>Use Humor or Creativity:<\/strong>\u00a0A funny or creative 404 page can turn a frustrating experience into a positive one.<\/li>\n<li><strong>Match Your Branding:<\/strong>\u00a0Ensure the design aligns with your website\u2019s overall look and feel.<\/li>\n<\/ul>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Creating a custom 404 page in WordPress is a great way to enhance user experience and maintain your website\u2019s professionalism. Whether you use a page builder plugin for a no-code solution or create a custom template file manually, both methods allow you to design a 404 page that reflects your brand and helps users navigate your site effectively.<\/p>\n<p>Choose the method that best suits your skill level and start building a custom 404 page today!<\/p>\n<p>&nbsp;<\/p>\n<p>I hope you enjoyed reading this article!<\/p>\n<p>Please check out our other recent articles:<\/p>\n<ul>\n<li class=\"entry-title\"><a href=\"https:\/\/www.acmethemes.com\/blog\/how-to-choose-the-best-wordpress-theme-for-your-business\/\" rel=\"bookmark\">How to Choose the Best WordPress Theme for Your Business<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A 404 error page is displayed when a user tries to access a page that doesn\u2019t exist on your website. By default, WordPress provides a basic 404 page, but it often lacks creativity and doesn\u2019t align with your website\u2019s design or branding. Creating a custom 404 page can improve user experience, reduce bounce rates, and [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":12182,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-12178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informations"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog<\/title>\n<meta name=\"description\" content=\"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog\" \/>\n<meta property=\"og:description\" content=\"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Acme Themes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/acmethemes\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-19T04:03:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-19T04:20:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pratima Khanal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@acme_themes\" \/>\n<meta name=\"twitter:site\" content=\"@acme_themes\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pratima Khanal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\"},\"author\":{\"name\":\"Pratima Khanal\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#\/schema\/person\/e67fc2d0d063c62eaf79b5b3e8c57cc6\"},\"headline\":\"How to Create a Custom 404 Page Template in WordPress (2 methods)\",\"datePublished\":\"2025-03-19T04:03:42+00:00\",\"dateModified\":\"2025-03-19T04:20:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\"},\"wordCount\":669,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png\",\"articleSection\":[\"Informations\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\",\"url\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\",\"name\":\"How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png\",\"datePublished\":\"2025-03-19T04:03:42+00:00\",\"dateModified\":\"2025-03-19T04:20:51+00:00\",\"description\":\"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404\",\"breadcrumb\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png\",\"contentUrl\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png\",\"width\":1170,\"height\":500,\"caption\":\"how-to-create-a-custom-404-page-template-in-wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.acmethemes.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Custom 404 Page Template in WordPress (2 methods)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#website\",\"url\":\"https:\/\/www.acmethemes.com\/blog\/\",\"name\":\"Acme Themes Blog\",\"description\":\"WordPress Themes and Plugins, WordPress Tips and Tricks, News and Events\",\"publisher\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.acmethemes.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#organization\",\"name\":\"Acme Themes\",\"url\":\"https:\/\/www.acmethemes.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2016\/12\/acmelogo.jpg\",\"contentUrl\":\"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2016\/12\/acmelogo.jpg\",\"width\":3600,\"height\":1800,\"caption\":\"Acme Themes\"},\"image\":{\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/acmethemes\/\",\"https:\/\/x.com\/acme_themes\",\"https:\/\/www.instagram.com\/acmethemes\/\",\"https:\/\/www.linkedin.com\/in\/acmethemes\",\"https:\/\/myspace.com\/acmethemes\",\"https:\/\/www.pinterest.com\/acmethemes\/\",\"https:\/\/www.youtube.com\/c\/AcmeThemes\",\"https:\/\/en.wikipedia.org\/wiki\/User:AcmeThemes\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.acmethemes.com\/blog\/#\/schema\/person\/e67fc2d0d063c62eaf79b5b3e8c57cc6\",\"name\":\"Pratima Khanal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g\",\"caption\":\"Pratima Khanal\"},\"url\":\"https:\/\/www.acmethemes.com\/blog\/author\/pratima\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog","description":"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog","og_description":"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404","og_url":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/","og_site_name":"Acme Themes Blog","article_publisher":"https:\/\/www.facebook.com\/acmethemes\/","article_published_time":"2025-03-19T04:03:42+00:00","article_modified_time":"2025-03-19T04:20:51+00:00","og_image":[{"width":1170,"height":500,"url":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png","type":"image\/png"}],"author":"Pratima Khanal","twitter_card":"summary_large_image","twitter_creator":"@acme_themes","twitter_site":"@acme_themes","twitter_misc":{"Written by":"Pratima Khanal","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/"},"author":{"name":"Pratima Khanal","@id":"https:\/\/www.acmethemes.com\/blog\/#\/schema\/person\/e67fc2d0d063c62eaf79b5b3e8c57cc6"},"headline":"How to Create a Custom 404 Page Template in WordPress (2 methods)","datePublished":"2025-03-19T04:03:42+00:00","dateModified":"2025-03-19T04:20:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/"},"wordCount":669,"commentCount":1,"publisher":{"@id":"https:\/\/www.acmethemes.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png","articleSection":["Informations"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/","url":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/","name":"How to Create a Custom 404 Page Template in Wordpress (2 methods) &#171; Acme Themes Blog","isPartOf":{"@id":"https:\/\/www.acmethemes.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png","datePublished":"2025-03-19T04:03:42+00:00","dateModified":"2025-03-19T04:20:51+00:00","description":"How to Create a Custom 404 Page Template in Wordpress (2 methods). By default, WordPress provides a generic 404 page, but a custom 404","breadcrumb":{"@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#primaryimage","url":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png","contentUrl":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2025\/03\/How-to-Create-a-Custom-404-Page-Template-in-Wordpress-2-methods-1-1.png","width":1170,"height":500,"caption":"how-to-create-a-custom-404-page-template-in-wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/www.acmethemes.com\/blog\/how-to-create-a-custom-404-page-template-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.acmethemes.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create a Custom 404 Page Template in WordPress (2 methods)"}]},{"@type":"WebSite","@id":"https:\/\/www.acmethemes.com\/blog\/#website","url":"https:\/\/www.acmethemes.com\/blog\/","name":"Acme Themes Blog","description":"WordPress Themes and Plugins, WordPress Tips and Tricks, News and Events","publisher":{"@id":"https:\/\/www.acmethemes.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.acmethemes.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.acmethemes.com\/blog\/#organization","name":"Acme Themes","url":"https:\/\/www.acmethemes.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.acmethemes.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2016\/12\/acmelogo.jpg","contentUrl":"https:\/\/www.acmethemes.com\/blog\/wp-content\/uploads\/2016\/12\/acmelogo.jpg","width":3600,"height":1800,"caption":"Acme Themes"},"image":{"@id":"https:\/\/www.acmethemes.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/acmethemes\/","https:\/\/x.com\/acme_themes","https:\/\/www.instagram.com\/acmethemes\/","https:\/\/www.linkedin.com\/in\/acmethemes","https:\/\/myspace.com\/acmethemes","https:\/\/www.pinterest.com\/acmethemes\/","https:\/\/www.youtube.com\/c\/AcmeThemes","https:\/\/en.wikipedia.org\/wiki\/User:AcmeThemes"]},{"@type":"Person","@id":"https:\/\/www.acmethemes.com\/blog\/#\/schema\/person\/e67fc2d0d063c62eaf79b5b3e8c57cc6","name":"Pratima Khanal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27aa2bdf17b17c3ffe0921ef6e4b46bd73a4eba0f2f68e2d9ebf5411acf7a5ea?s=96&d=mm&r=g","caption":"Pratima Khanal"},"url":"https:\/\/www.acmethemes.com\/blog\/author\/pratima\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/posts\/12178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/comments?post=12178"}],"version-history":[{"count":7,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/posts\/12178\/revisions"}],"predecessor-version":[{"id":12186,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/posts\/12178\/revisions\/12186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/media\/12182"}],"wp:attachment":[{"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/media?parent=12178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/categories?post=12178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.acmethemes.com\/blog\/wp-json\/wp\/v2\/tags?post=12178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}