Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Manage Users and Data Access
Use Custom Visualforce Error Pages for Authenticated Users

Use Custom Visualforce Error Pages for Authenticated Users

If you have customized Visualforce error pages, you can have those pages display for authenticated Experience Cloud site users.

Required Editions

Available in: both Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions
User Permissions Needed
To customize an Experience Cloud site:
  • Be a member of the site AND Create and Set Up Experiences

    OR

  • Be a member of the site AND View Setup and Configuration AND an experience admin, publisher, or builder in that site
To publish an Experience Cloud site:
  • Be a member of the site AND Create and Set Up Experiences

    OR

  • Be a member of the site AND an experience admin or publisher in that site

To assign or customize your Visualforce error pages, in Experience Workspaces, click Administration | Pages and click Go to Force.com. The Error Pages section lists your current page selections.

When Use custom Visualforce error pages is selected, users who are logged in to the Experience Cloud site see your custom Visualforce error pages. When Use custom Visualforce error pages isn’t selected, users logged in to the site see the default Visualforce error pages. Guest users who aren’t logged in to the site always see the custom Visualforce error pages, regardless of whether you select the checkbox.

  1. Open Experience Workspaces.
  2. Click Administration | Preferences.
  3. Select Use custom Visualforce error pages, then click Save.
 
Loading
Salesforce Help | Article