What is the proper way of making a 404 Controller in the new umbraco ?
Have being looking for a while now and im a bit dense so help would be appriciated..
but im not keen on beeing reliant on a plugin ..
the main reason is that the old page have some links that i want to be able to set up to new routes in the system on a controller that i can redirect to the new pages where the link is updated..
the old page has some files that is not on the proper location..
in my new implementation i want to define a list of elements in the back office with direct paths to the new content so that the page will not break ..
for users that have links from old Pdf's that link to new new page..
so by using the url as a referenc on the new page i know where to point them...
404 controller
What is the proper way of making a 404 Controller in the new umbraco ? Have being looking for a while now and im a bit dense so help would be appriciated..
Wnat i found so far is this but it does not make sence to me.. https://our.umbraco.org/wiki/how-tos/how-to-implement-your-own-404-handler
im acculay not interested in having multiple sites but only one.
the config is set but its does not seem to work..
Hi Aki,
Can you share your configuration ?
Dave
file Config/404handlers.config
Hi Aki,
Normally you don't need to change this config file.
But you need to set the id of the 404 page in the umbracoSettings.config file.
But maybe this package can make your life easier : https://our.umbraco.org/projects/backoffice-extensions/umbraco-page-not-found-manager/
Dave
Hi dave thanks..
but im not keen on beeing reliant on a plugin .. the main reason is that the old page have some links that i want to be able to set up to new routes in the system on a controller that i can redirect to the new pages where the link is updated..
the old page has some files that is not on the proper location..
in my new implementation i want to define a list of elements in the back office with direct paths to the new content so that the page will not break ..
for users that have links from old Pdf's that link to new new page..
so by using the url as a referenc on the new page i know where to point them...
is working on a reply...