function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
irlrobinsirlrobins 

Different Login Pages for multiple Sites

Hey all,

 

We have two force.com sites that have login enabled against two different customer portals. i.e.:

Site 1 -> Customer Portal 1

Site 2 -> Customer Portal 2

 

We had previously modified the SiteLogin page with a custom look and feel associated with Site 1. What I'd like to do is create a second login page (SiteLogin2) that has a look and feel associated with Site 2. So if you're logging in for Site 1 you see SiteLogin page and if you're logging in for Site 2 see SiteLogin2. Is this possible?

 

 

 

Ryan-GuestRyan-Guest

Yes, just create a second visualforce page with your customized code and use that for the site login page of the second site.

irlrobinsirlrobins

Thanks, that's what I did. I also created a second unauthorised page that redirects to the second login page for Site2. So if someone tries to access a page that requires login, they are presented with the correct login.