Notifications
Announcements
No record found.
I need user to redirect to Home page after user clicks on signout.
There is already solution provided using liquid script
Here is the solution provided
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/209262/automatic-redirect-to-login-page-after-logout?pifragment-97030=1#responsesBut do we have any customized way in portal to change this behavior. I would like customizing rather than scripting.
Here is one blog which states customizing way but did not helped for me
shaikhd365.blogspot.com/.../redirect-to-home-page-when-logout-into.html
I believe updating that Liquid code is your only option - no setting available that I'm aware of.
To always redirect to your home page, all you need to do is change the following in the Header Web Template from:
{{ website.sign_out_url_substitution }}
to:
/Account/Login/LogOff?returnUrl=%2F
Hope that helps.
Nick
Hi,
Agree with Nick, there is no configuration to change as the url is built based on the header template so if you need to change this behavior, you have to change the templae..
Hope this helps.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 72 Super User 2025 Season 2
Daniyal Khaleel 32 Most Valuable Professional
Gerardo RenterÃa Ga... 29 Most Valuable Professional