Custom Login page in 5.1

Posted by Community Admin on 04-Aug-2018 16:47

Custom Login page in 5.1

All Replies

Posted by Community Admin on 14-Aug-2012 00:00

In my Sitefinity 5.0 site, I had a custom login page for frontend users. When unauthenticated users tried to access a restricted page, I redirected them to our front-end login page using custom errors.

In Sitefinity 5.1, attempting to access a page for which you don't have permission simply results in Sitefinity redirecting the user to the internal backend "Login to manage the site" login.

Is there a way to configure Sitefinity to use my login page instead of the built-in backend login page?

Posted by Community Admin on 19-Feb-2013 00:00

Please let me know if you have resolved this issue.  We are also experiencing this in our site, except users are actually being sent to the back-end login page when they try to go to our front-end login page using 5.1.

Posted by Community Admin on 22-Feb-2013 00:00


Please review the following blog post where you will find further information:

Note that the blog post is for Sitefinity versions 5.1 SP2 and above.

For Sitefinity 5.1 and Sitefinity 5.1 SP1 what we would suggest you is to use custom errors. These custom errors are coming from ASP.NET application. Sitefinity do not redirect users to the login page when they are not authenticated. However, this message can be handled in the customErrors element in you web.config to automatically redirect the user to the login screen.

For instance:

<customErrors mode="On" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="~/Sitefinity" />

Change the redirect page to the page you want.

You can also handle the 401 error as well. Custom errors can be places in your web.config file of the project.

All the best,
Stefani Tacheva
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed