Documentation Index

Fetch the complete documentation index at: https://docs.document360.com/llms.txt

Use this file to discover all available pages before exploring further.

Customizing 404 page

Prev Next

The 404 page appears when a reader tries to access a non-existent page on your knowledge base site - for example, when following a deleted or broken URL. While a browser's default 404 error gives readers no useful path forward, a customized 404 page can acknowledge the error clearly and route readers to the right place through helpful links and navigation buttons.

NOTE

Once you configure a custom 404 page, you cannot revert to the default. It is recommended to have a custom 404 page to improve the reader experience.


How to customize the 404 page

  1. Navigate to Settings () > Knowledge base site in the left navigation bar of the Knowledge base portal.
  2. In the left navigation pane, navigate to Site customization.
  3. Click the Customize site button.

Site customization page showing the Customize site button

  1. From the left dropdown menu, select 404 page.
  2. Customize the page using one of two options:
    • Basic style - Customize the default image, heading, paragraph, and link buttons.
    • Custom style - Add custom HTML and CSS. Use the Preview toggle to switch between code view and rendered view.
  3. Click Save to save without applying immediately, Preview to review, and Publish to make changes live.

404 error page with options to navigate to documentation or home


Basic style

Image

  1. Click Image. The Image panel appears.
  2. Click Change and choose between:
    • Default images - Select from available default images and click Save.
    • Image - Enter an image URL or upload from your Drive and click Save.
  3. Set the image alignment (left, center, or right) as needed.

Image selection interface showing alignment options and default images

Heading

  1. Click Heading. The Heading panel appears.
  2. Enter the desired heading text.
  3. Select a color from the text color palette.

The default heading will be "404."

Editing the 404 page heading

Paragraph

  1. Click Paragraph. The Paragraph panel appears.
  2. Enter a description to help readers understand the context.
  3. Select a color from the text color palette.

The default text will be "Oops! Page not found."

Editing the 404 page paragraph

Buttons

Add up to three link buttons to guide readers to useful pages.

  1. Click Buttons.
  2. Click Add button to create a new button.
  3. Enter text and URL for each button.
  4. Click the Delete () icon to remove a button or the Hide () icon to hide it.
  5. Click Delete at the bottom to remove all buttons.
  6. Once done, click Save.
NOTE

Suggested links to include on the 404 page: Home page, a contact form for readers to report broken links, your knowledge base sitemap, and your most popular categories or articles.

404 page buttons panel showing Documentation and Home navigation options


Custom style

  1. Select Custom style and switch between the HTML and CSS sections.
  2. Update the code as required.
  3. Turn on the Preview toggle to view the updated page.
  4. Click Save, then Publish to apply.

Custom style editor showing HTML and CSS sections for the 404 page


Best practices

  • Keep the design on-brand - use the same colors and tone as the rest of your knowledge base so readers know they're still in the right place.
  • Use friendly, plain language - avoid technical jargon. Acknowledge the error lightly: "It's possible this page has moved or no longer exists."
  • Always add at least one button - link back to the home page at minimum. Two or three buttons covering home, documentation, and a contact form gives readers clear next steps.
  • Use the 404 page together with redirect rules - customize the 404 page for unavoidable errors, and use Article redirect rules to fix known broken URLs proactively.