Skip to content

Commit

Permalink
Added a link to 404 documentation
Browse files Browse the repository at this point in the history
I think it will be useful to include a link to the documentation on how to create a custom 404
  • Loading branch information
prjseal authored and nathanwoulfe committed May 15, 2021
1 parent 474a76f commit aaf5cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Web/Routing/PublishedContentNotFoundHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal void WriteOutput(HttpContext context)
response.Write("</h2>");
if (string.IsNullOrWhiteSpace(_message) == false)
response.Write("<p>" + _message + "</p>");
response.Write("<p>This page can be replaced with a custom 404. Check the documentation for \"custom 404\".</p>");
response.Write("<p>This page can be replaced with a custom 404. Check the documentation for <a href=\"https://our.umbraco.com/Documentation/Tutorials/Custom-Error-Pages/#404-errors\" target=\"_blank\">Custom 404 Error Pages</a>.</p>");
response.Write("<p style=\"border-top: 1px solid #ccc; padding-top: 10px\"><small>This page is intentionally left ugly ;-)</small></p>");
response.Write("</body></html>");
}
Expand Down

0 comments on commit aaf5cd5

Please sign in to comment.