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: enter image description here

Site Manager > Settings Page: enter image description here

有帮助吗?

解决方案

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.

IIS 7 Instructions. IIS 6 Instructions

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top