Note: instead of the user.* templates you can also use the new ar\events functionality. This will eventually replace the approach below.

The user.notfound.html template is called by Ariadne whenever a requested object or template cannot be found. This allows you to either show a 404 not found page, or search for the requested item in another place.

The template is called on the last matching object given the requested path, the nearest existing parent.

Arguments

(string) arRequestedPath The path originally requested.
(string) arRequestedTemplate The template orginally requested.