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
I edit my configuration file /config/umbracosettings.config:
This works fine when I enter a nonexistent url.
Now I need to redirect to this error page in my surface controller.
throw new HttpException(404, "Not Found");
But it doesn't come to the 404 custom page.
I seem to remember having something like this before but i cant for the life of me remember what it was....
As a temp workaround you could just redirect to the pageid from the controller - but its not going to give the 401 code to the browser then - even though you get the template. Not sure if this would be an issue for you.
Is it possible to get pageid error page from my umbracosettings.config?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted