Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Custom Error Pages on Framework only usage


Go to End


611 Views

Avatar
Andre

Community Member, 146 Posts

28 January 2015 at 12:07pm

If I'm just using the silverstripe Framework, without the CMS Module, how can I set custom Error Pages?

When in dev mode, the debug errorpage is shown, but when in live mode, a DebugView is shown, that doesn't seem to be customizable.

When trying to hit a controller/action, that doe not exist, I get the Message "No URL rule was matched".

How can I set a wildcard route, that matches, when no other route matches (to provice my 404 page)?