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
Edwin KEdwin K Site login page before accessing some visualforce pages



I want ask about site using login page.. I have configured the site as below:

1. set "Active Site Home Page" field with for example calendar page

2. Not included the calendar page into "Site Visualforce Pages" section

3. Set error condition "Authorization Required Page (401)" in "Error Pages" section with Login page

4. I enabled login access on site


The result is the Login page always skipped and redirect to calendar page. Are there any settings I should worried about? Any suggestions and helps would be great..


Shashikant SharmaShashikant Sharma

Provide acees of this page to Gueest User Profile.


Goto -> Develop ->Sites -> Your Site Label -> Click On it -> In the opened page you will see a Section Site pages -> Edit it -> Here you will see two Boxes , Move you Page to right box to left box which would mean guest user has the right to access this page.


I hope this should resolve your issue, Please ask me if any issues in it.

Edwin KEdwin K



Do you mean Section "Site Visualforce Pages" ? If yes, I have done that, no luck with the result.. Still guest user can access my visualforce page without authentication.. Is there any setting shoud I worried about? Must I change the "Active Site Home Page" field on section "Site Detail"?

Any suggestions would be great..