[SalesForce] guest user access to custom community login page

I created a custom visual force page to be our login page for our community. When I go to manage communities and try to set this as the login page it gives me

Error: you can only select pages that are accessible by the community guest user

I have read the getting started with communities and they don't accurately describe how to do accomplish this. I cannot see a community guest user to give access to this visual force page only profiles. I also cannot see a community guest user to add to a profile.

What do I have to do to allow this to work?

Best Answer

When you create a community inside Salesforce ,A salesforce site is automatically spun for you for accessing the community without login credentials as a guest user .

Lets take an example community set up to understand this

I have the communities as in screenshot

enter image description here

When i navigate to sites via set up menu,I see sites are already created by SFDC

enter image description here

The error is complaining your page is not accessible for your site .Below screen shot will help you on how you will add your VF to provide access to guest user

enter image description here

Related Topic