---
schema_version: "1"
id: 51f8f945734324c5c280b709f631da6e4474b1e8fa9df16b02c32bf4843fd798
title: Manage Salesforce Site Visualforce Pages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/sites_site_pages.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.sites_site_pages.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9c0b043c9128d5ac65f09ed4bb2679dce19c5e8ea23a9c5032b35c6f30936c5d
description: Salesforce Sites use Visualforce pages for all site and error pages. To expose a Visualforce page on your site, enable that page for your site.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Manage Salesforce Site Visualforce Pages

Salesforce Sites use Visualforce pages for all site and error pages. To expose a Visualforce page on your site, enable that page for your site.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d64150e72">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d64150e72 ">To create and edit Salesforce Sites:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d64150e72 ">
              <p>Customize Application</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Create and Set Up
                Experiences</p>
            </td>

          </tr>
        </tbody>
      </table>

Sample error pages use the SiteSamples static resource for their style sheet and images.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_warning.png)

Warning To avoid errors, don't rename or delete SiteSamples.

1. To control the pages available to all your site visitors, add or remove the page from the site.
    1. From Setup, in the Quick Find box, enter Sites, and then select **Sites**.
    2. Click the name of the site you want to modify.
    3. Click **Edit** on the Site Visualforce Pages related list.
    4. Optionally, to enable the My Profile page, use the **Add** button to add that page to your site.
        
        The My Profile page is a Visualforce page associated with a Customer Portal or site user's profile. The My Profile page enables users logged into either your Salesforce site, or your Customer Portal from Salesforce sites, to update their own contact information. When they update that page, the corresponding portal user and contact records are updated.
        
        The My Profile page can be enabled either for your entire site or in a more restricted way by assigning it to the site guest user profile.
        
        The My Profile page is also delivered as part of the Customer Portal Welcome component on your home page layout.
    5. Use the **Add** and **Remove** buttons to enable or disable other Visualforce pages for your site, and then save your changes.
        
        If a page isn’t listed under Site Visualforce Pages, an authentication or page-not-found error is displayed based on the existence of the page.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)
        
        Note If you select a Visualforce page for these items, that page is automatically enabled for your site: any of the lookup fields on the Site Detail page, any of the error pages, or the Change Password Page under login settings. If you remove a page from this list, but it’s still selected in one of these places, public users can access that page. To completely remove pages from your site, disable them here and make sure that the page isn’t selected in any lookup fields for your site.
2. If you don't want to enable a Visualforce page for your entire site, you can also enable pages for specific profiles.
    
    1. From Setup, in the Quick Find box, enter Profiles, and then select **Profiles**.
    2. Click the name of the profile that you want to edit.
    3. In the Enabled Visualforce Page Access related list, click **Edit**.
    4. Use the **Add** and **Remove** buttons to enable or disable Visualforce pages for this profile, and then save your changes.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)
    
    Note When you name Visualforce pages hosted on force.com sites or Classic Experience Cloud sites, choose a name that is different from standard platform URLs.