Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

In multi-site environment have a DefaultPageController per site.


Hi all,

I was wondering, is it possible to have a DefaultPageController per site in a EPiServer multi-site environment.
We have multiple sites running in one EPiServer instance.

Thanks in advance!



Mar 04, 2014 12:54

One way is to hook up an eventhandler to TemplateResolver.TemplateResolving (or TemplateResolved) and there set which template to use. See

Mar 04, 2014 16:52

Johan, wouldn't having a DisplayChannel per site or somehow programmatically register DisplayChannels at startup be a little more kosher?

Edited, Mar 04, 2014 17:13

Yes that sounds like a great idea!

The IsActive implementation could then use SiteDefintion.Current to distinguish if it is active or not.

Mar 04, 2014 17:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.