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
B_kB_k 

Make Visualforce Pages Visible to Users without login

How to make Visualforce Pages Visible to Users without login ?

I already did
 Go to Setup -> Sites -> Click Site name -> Public Access Settings
Enabled Visualforce Page Access.

but still doesnt work.
it worked fine in the sandbox but when i moved to production didnt work.
 
VinayVinay (Salesforce Developers) 
You need to have VF page access to site guest user and also check if you have required acess for custom object if you are using any.

https://help.salesforce.com/s/articleView?id=000327969&type=1
https://niksdeveloper.com/salesforce/access-visualforce-page-without-login/

Please mark as Best Answer if above information was helpful.

Thanks,
mukesh guptamukesh gupta
Hi,

Please follow below Instructions:-

Sites in Salesforce enables us to create Public Web Applications which are directly integrated with our Salesforce Organization. It does not require users to log in with username and password to see the pages hosted with Sites in Salesforce. Sites can be used to publically expose some information for Customers or take some inputs from the Customer like Feedback.

First, type Sites in the Quick Find box and click on Sites.
Add the Domain name for Site and click on Check Availability.
If it is available, then click on Register My Salesforce Site Domain.

https://niksdeveloper.com/salesforce/access-visualforce-page-without-login/#:~:text=Go%20to%20the%20Site%20page,and%20necessary%20fields%20if%20required.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh