Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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..
im acculay not interested in having multiple sites but only one.
the config is set but its does not seem to work..
Can you share your configuration ?
<?xml version="1.0" encoding="utf-8" ?>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate"/>
<notFound assembly="umbraco" type="SearchForProfile"/>
<notFound assembly="umbraco" type="handle404"/>'
<notFound assembly="MYpageAssembley" namespace="web.Controllers" type="PageNotFoundHandler" />
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 :
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...
Write your reply to:
Image will be uploaded when post is submitted