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
Sandra Rendel 7Sandra Rendel 7 

add a page to force.com site

I created a VF page and need to add it a force.com site, could you guide me how to do it
Amit Singh 1Amit Singh 1
Hello Sandra,

Follow the below steps to add VF page to your site.

1) Setup -> Develop -> Sites -> Click on "Site Label" of your force.com site.
2) Scroll down and you will get "Site Visualforce Pages" section and then click on edit button.
3) Select Your VF page from "Available Visualforce Pages" Section and the click on Add arrow to add the VF page to "Enabled Visualforce Pages" Section and then click on Save button.
 Note: - VF page that you added using above steps will be available for public access of you want to make available for the particular user then add VF page to the associated profile.

1) Setup -> Manage Users -> Profile -> Click on the profile and scroll down then click on "
Enabled Visualforce Page Access" then edit add your VF page then Save.

Let us know if this helps :)

Thanks!
Amit Singh
Ramssf70Ramssf70
Hi Sandra Rendel 7,

It is is easy to add visuval force page to force.com site just bellow link you will find configuration steps to add visuval force page to site
https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites (http://​https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites)

Thank you