Skip to content

Commit 51095bf

Browse files
authored
Merge pull request #6605 from bszyman/main
2 parents 6ab9c9b + 453110b commit 51095bf

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

14/umbraco-cms/tutorials/custom-error-page.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,18 @@ This method will use a 404 page created via the backoffice.
3737
1. Navigate to the **Settings** section.
3838
2. Create a new "_Document Type with Template_".
3939
3. Name the Document Type **404**.
40-
4. \[Optional] Add properties on the Document Type.
40+
4. Adjust the alias to "Page404" before saving the Document Type. Umbraco will not allow you to create a Document Type with a numeric alias.
41+
5. \[Optional] Add properties on the Document Type.
4142
1. In most cases, the 404 not found page would be static.
42-
5. Fill out the Template with your custom markup.
43-
6. Create another **Document Type**, but create it without the Template.
44-
7. Call this Document Type **Statuscodes**.
45-
8. Open the **Structure** Workspace view.
46-
9. Check the **Allow at root** option.
47-
10. Add the **404** Document Type as an **Allowed child note type**.
48-
11. Navigate to the **Content** section.
49-
12. Create a **Statuscodes** content item called **Statuscodes**.
50-
13. Create a **404** content item under the **Statuscodes** content.
43+
6. Fill out the Template with your custom markup.
44+
7. Create another **Document Type**, but create it without the Template.
45+
8. Call this Document Type **Statuscodes**.
46+
9. Open the **Structure** Workspace view.
47+
10. Check the **Allow at root** option.
48+
11. Add the **404 Page** Document Type as an **Allowed child note type**.
49+
12. Navigate to the **Content** section.
50+
13. Create a **Statuscodes** content item called **Statuscodes**.
51+
14. Create a **404 Page** content item under the **Statuscodes** content.
5152

5253
### Set a custom 404 page in the configuration
5354

0 commit comments

Comments
 (0)