Kentico CMS: Page not found URL
-
12-06-2021 - |
题
Kentico CMS
I have created a custom 404 page to redirect to when someone hits a 404/page not found error.
And then in Site Manager > Settings > Content
I have added the URL location for this custom page.
Now when I try to navigate to a page that doesnt exist in my site I still get the standard 404 Server Error page. Why is it not redirecting to my custom page?
Site Structure:
Site Manager > Settings Page:
解决方案
If you're using extensionless urls (looks like it), have you changed the 404 settings within IIS? You need to map the 404 error to Kentico's handler, /cmspages/handler404.aspx.
不隶属于 StackOverflow