Hi,
In EPiServer, when you try to access an unpublished page, it redirects the user to the EPiServer login page. However is there a way to redirect all access to unpublished pages to the homepage?
Thanks.
Not sure if this works for unpublished pages, but I guess it should.
In the page template (or base page template) override AccessDenied() and check if the page is unpublished, if it is, redirect to homepage.
Hi,
In EPiServer, when you try to access an unpublished page, it redirects the user to the EPiServer login page. However is there a way to redirect all access to unpublished pages to the homepage?
Thanks.