You are here:
Set Up Your Experience Builder Site for SEO
Setting up SEO for your Experience Builder site includes a series of tasks that you perform in Salesforce and in the site. From identifying your preferred domain to determining which objects to make public, we’ve got you covered.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions |
| Applies to: LWR and Aura sites |
| User Permissions Needed | |
|---|---|
| To customize or publish an Experience Cloud site: |
|
Here’s an overview of the main steps to set up SEO for your site on a production org.
-
If you have multiple domains, identify your preferred domain.
For an enhanced LWR site or for an Aura or LWR site without an identified preferred domain, the site’s first custom domain alphabetically is the preferred domain.
Tip Identify your preferred domain before you make your site public. If the site is made public without a preferred domain, the *.force.com or *.my.site.com URLs are also indexed, and removing them from search results can take time. -
Make your site public.
The SEO settings tab in Experience Builder is available only if your site is public.
When you make your site or specific pages public, search engines can then index those public pages. However, if you don’t want unauthenticated visitors or search engines accessing certain pages, you can make those pages private. Also, more granular indexing control is available at the object and field levels.
-
To improve search results, specify the
SEO properties for individual pages.
These SEO properties are for the title and description that appear in the search results of indexed pages, and to prevent a page from being indexed.
- Optionally, for a rules-based approach, create a custom robots.txt file to control the indexing of specific areas of your site.
- If you want the information stored in objects accessible to search engines, make objects and their associated fields readable.
-
Optionally, enable generative engine
optimization (GEO) to make pages more discoverable by AI-powered search
engines.
When you enable GEO, AI bots can request content snapshots of your site’s pages to generate answers more effectively.
-
Activate your site to
successfully implement SEO.
Before activating your site, check the guest user profile to ensure that the correct objects have read access. This best practice controls the scope of your sitemap.xml file and keeps your site secure.
- To make your changes live, publish your site.
-
If you’re setting up SEO for the first time, or as needed, generate a manual sitemap refresh.
The sitemap is automatically regenerated every Sunday. An automatic partial sitemap refresh that picks up incremental changes occurs every 24 hours. You can also generate a manual sitemap refresh one time every 24 hours if needed.
-
If necessary, provide search
engines with fresh content snapshots.
Salesforce takes a snapshot when you make changes to your site’s publicly available content. This functionality works well for most updates. But if you update a page with time-sensitive content and don’t see your changes in search results right away, you can take a manual snapshot one time every 24 hours. When you take a manual snapshot, you refresh the page content served to search engines.

