Skip to content
English
  • There are no suggestions because the search field is empty.

How to Create a Custom 404 Page in HubSpot

A step-by-step guide to enhancing user experience with a personalized 404 error page

Overview

Creating a custom 404 page in HubSpot allows you to enhance user experience and maintain your brand's identity even when a user encounters a broken link. Since HubSpot does not currently support the drag-and-drop editor for 404 pages, this guide will walk you through an alternative method using HTML and HubL coding.

Step-by-Step Instructions

Step 1: Create a Regular Page

Begin by creating a new regular page using HubSpot’s page editor. Design this page to reflect your brand, including relevant messaging, navigation options, and any other elements you wish to showcase.

Step 2: Access the HTML Source

After designing your page, navigate to the HTML source code. This code contains the layout and design elements you've added, which will be transferred to your custom 404 template.

Step 3: Set Up the Custom 404 Template

  1. Log into your HubSpot account and proceed to the design manager.
  2. Locate the custom 404 template available in your account.
  3. Paste the HTML code from your regular page into the custom 404 template.

Step 4: Publish Your Custom 404 Page

Once you have pasted your HTML into the template, save your changes and publish the template. Your new custom 404 page is now ready to display whenever a visitor encounters a 404 error on your website.

Additional Tips

  • Enhance User Experience: Consider including links to other parts of your website, a search bar, or friendly messaging to guide users back to useful content.
  • Submit Feature Suggestions: If you believe that adding drag-and-drop functionality for 404 pages would enhance HubSpot's functionality, feel free to share your feedback through HubSpot’s community idea portal.

By following these steps, you can create a custom 404 page that not only aligns with your brand but also improves user experience on your site.