Custom 404 page managed by CMS
I am on Sitefinity 5 and I would like to perform the basic task of setting up a custom 404 page that is managed in the CMS. I would prefer this over a static HTML page so that the user has access to widgets on the site template like the main navigation. I setup the custom errors like so:
<
customErrors
mode
=
"RemoteOnly"
defaultRedirect
=
"/error"
>
<error
statusCode
=
"404"
redirect
=
"/page-not-found"
/>
</
customErrors
>
www.mydomain.com/page-not-found?aspxerrorpath=/my/invalid/url
www.mydomain.com/my/invalid/url
I think you're missing the 404 in IIS. Check out this blog post:
http://www.lightspeeditsolutions.co.uk/blog/alexhewittclay/11-12-12/Adding_a_Custom_404_Page_with_Sitefinity.aspx