I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help me out?

Many Thanks!

2 Answers 2


You can follow steps below:

1) Create a copy of SignOut.aspx in the Layouts folder. Rename it as CustomSignOut.aspx

2) Open the custom page in notepad\designer. In the function _spBodyOnLoad() replace windows.close() with windows.location("YourHomePageRelativeUrl");

3) Make this page the default sign out page for the web application using below command in SP Management shell :

Set-SPCustomLayoutsPage -identity "Signout" -RelativePath "/_layouts/CustomSignOut.aspx" -WebApplication "http://yourwebapplicationurl"
  • That did not fix it for me. I believe that page is related to Windows Authentication, not FBA.
    – Umm....
    Apr 3, 2012 at 19:59
  • Signout page is same for both Apr 4, 2012 at 7:14
  • Not sure, but after signing out, it stays on the same page. Even before I applied your answer, it did the same thing. Window never closed. It only closed during Windows Authentication. Also, window.location('') didn't work; I had to use window.location.href = "/";
    – Umm....
    Apr 4, 2012 at 16:04

Amit's answer is correct as discussed previously - signout.aspx doesn't seem to be used

Simply done using PowerShell;

Set-SPCustomLayoutsPage -identity "Signout" -RelativePath "/_layouts/CustomSignout/Signout.aspx" -WebApplication "http://yourwebapplication"

Set-SPCustomLayoutsPage - http://technet.microsoft.com/en-us/library/ff607768.aspx

Simply UN-done using PowerShell;

Set-SPCustomLayoutsPage -identity -reset -WebApplication "http://yourwebapplication"

I must have missed the important part about the "FBA Pack", although I am not certain, I think you could either make a feature or edit the master page, adding the signout functionality. I don't have a server to test this right now but please check this out;


Documentation for Set-SPCustomLayoutsPage: http://technet.microsoft.com/en-us/library/ff607768%28v=office.15%29.aspx

  • That did not fix it for me. I believe that page is related to Windows Authentication, not FBA.
    – Umm....
    Apr 3, 2012 at 20:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.