Configure Salesforce Sites
After you create your site, configure public access and login settings, then activate the site. Optionally, you can also create a syndication feed for your site, and assign error pages for standard errors.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Developer, Enterprise, Performance, and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To create and edit Salesforce Sites: | Customize Application |
| To edit public access settings for Salesforce Sites: | Manage Users |
To access this page, from Setup, enter Sites in the Quick Find box, then select Sites, and then in the Sites list, click the site name. You can do the following:
- From Setup, in the Quick Find box, enter Sites, and then select Sites.
- In the Sites list, click the site name.
- To update the site, click Edit.
-
To select the pages available for your site, click Edit
in the Site Visualforce Pages or Site Standard Pages related lists.
All pages associated with the site must be enabled.
- To assign error pages for standard errors, such as “Authorization Required (401)” and “Page Not Found (404),” click Page Assignment. You can override or edit the default pages that are provided.
- To view or edit the site’s security settings, click Public Access Settings. Security settings include permissions, page layouts, and more
-
To configure the login and registration settings for your site, click
Login Settings.
Built-in login and registration logic allows users to quickly register for and log in to your portal from your public site.
Note For Experience Cloud sites, this link opens the Experience Cloud site’s Login Page. -
Optionally, to allow your users to access your site content through a
third-party reader, create a syndication feed for your site.
-
To enable this option, click Enable Feeds in the
Site Detail list.
Feeds are added as a related list for your site.
- In the Feeds related list, click New.
-
To enable this option, click Enable Feeds in the
Site Detail list.
-
To view your site in administrator preview mode, click Preview as
Admin.
To help you troubleshoot site issues, administrator preview mode shows the errors on each site page in context and in greater detail.
Note This feature doesn’t appear for community organizations. - To see existing page redirects for your site, click URL Redirects.
-
To activate your site, click Activate.
Warning Be careful not to expose any information that you don’t want to make public. - To deactivate an active site, click Deactivate
- To see current bandwidth and service request time usage, the daily limits, and the percentage used, view the 24-Hour Usage History related list.
- To see the configuration changes that have been tracked for your site, view the Site History related list.
- Define Syndication Feeds
Syndication feeds give users the ability to subscribe to changes within Salesforce Sites and receive updates in external news readers. Simply by defining a SOQL query and mapping, you can syndicate changes to public data to your end users. You can create one or more syndication feeds for your organization's public sites or any Visualforce page. The syndication feed displays the records specified by a SOQL query. Users can subscribe to the feed and view the feed when they visit the site or page. - Manage Salesforce Sites Login and Registration Settings
Let users register for and log in to your portal from your public Salesforce Site. For example, users browsing through an ideas site can register and login directly from that site. Then, as authenticated users, those users can vote, add comments, and participate in the ideas community. When users successfully log in, they leave the public site and enter the associated portal seamlessly. - Public Access Settings for Salesforce Sites
Control what public users can do on each Salesforce Sites site. - Salesforce Sites URL Redirects
If you move or reorganize pages on your Salesforce Site, search engines can have trouble finding the new page locations. To avoid this issue, set up site URL redirects to inform users and search engines that site content has moved. - Associate a Portal with Salesforce Sites
Allow your users to register for or log into an associated portal from your site - 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. - Manage Salesforce Sites Standard Pages
Control the standard pages users see for your site. Salesforce Sites uses Visualforce pages for all site and error pages. Lightning Platform also provides some standard pages that you can use. Before you can use a page for your site, enable the page for the site. If a page isn’t listed under Site Standard Pages, Salesforce displays an authorization required error. - Assign Salesforce Site Error Pages
Salesforce sites use Visualforce pages for site and error pages. Sample error pages use the SiteSamples static resource for their style sheet and images.
Did this article solve your issue?
Let us know so we can improve!

