---
schema_version: "1"
id: eb34339d5ece7e94d0f592e6a356d1e754b2b50fc78adbbd634665ee2114183a
title: Switch Between Your Salesforce Org and Your Experience Cloud Sites
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/networks_navigate.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.networks_navigate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6d8403632d717992957b3b6edfd8e0ac16a3b186cb4962a6f223017446084286
description: If you use Experience Builder sites and Lightning Experience, use the App Launcher to switch back and forth between your Salesforce org and your Experience Cloud sites associated with it. If you use Tabs + Visualforce sites and Salesforce Classic, use the global header. You can embed a site URL directly into buttons or links. You can also redirect a user to another site or to a specific page within another site.
products:
  - Experiences
release: "264"
---
# Switch Between Your Salesforce Org and Your Experience Cloud Sites

If you use Experience Builder sites and Lightning Experience, use the App Launcher to switch back and forth between your Salesforce org and your Experience Cloud sites associated with it. If you use Tabs + Visualforce sites and Salesforce Classic, use the global header. You can embed a site URL directly into buttons or links. You can also redirect a user to another site or to a specific page within another 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: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Applies to: <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">LWR, Aura, and Visualforce sites</a></td></tr></tbody></table>

Switching between your Salesforce org and your sites doesn’t disrupt your workflow. You’re returned to the page that you were working on, either in the current browser tab (standard apps) or in a new browser tab (connected apps and communities). If you’re using the App Launcher or the global header, whichever sites you’re a member of are displayed as a dropdown or tile.

## App Launcher for Experience Builder Sites and Lightning Experience

The App Launcher is available to some users on Experience Builder templates.

![App Launcher in communities](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/communities/images/community_builder_applauncher.png)

In Lightning Experience, the full view of the App Launcher displays a tile for every published site along with your apps. In Experience Builder sites, the App Launcher displays a tile for every published site and app but the All Items area and AppExchange link aren’t available. Members see only the sites and apps that they’re authorized to see according to their profile or permission sets.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_note.png)

Note The App Launcher isn’t available in Salesforce Tabs + Visualforce sites. Members of these sites can use the global header to switch between their Salesforce org and their sites.

## Global Header for Tabs + Visualforce Sites and Salesforce Classic

![New global header](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/communities/images/header_after_callout.jpg)

From the menu on the left side, you can switch between sites and your Salesforce org.

- The dropdown shows all active sites associated with your org that you’re a member of.
- If you have the “Create and Set Up Experiences” permission, you also see previews of sites that you’re a member of.
- Internal users who aren’t members of any sites only see the company name.
- External users see the dropdown menu only if they belong to more than one active site.
- External users who are members of only one active site don’t see the dropdown menu in the site.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_important.png)

Important Functionality can be affected if you’re setting up a My Domain that hasn’t finished deployment. For example, if you switch from a site to an internal org, you’re directed to the Salesforce login page instead. After your domain is deployed, selecting your organization in the dropdown directs you to the internal organization as expected.

The **Your Name** menu on the right side contains links to edit contact information and log out. Internal users can also access Salesforce Help and links to Setup and other tools depending on user permissions and enabled features.

## Embedded Site URLs

To allow users to switch between a Salesforce org and a site served on that org without requiring the user to log in again, you can embed site URLs into buttons or links. This method can also bring the user to another site served by the same org. To determine the embedded URL to use, follow these guidelines.

To link to a page of a site that’s publicly shared with guest users, use the fully qualified URL. For example, https://example.my.site.com or https://example.my.site.com/store, where siteID is the 15-digit site ID, which can be found in the Experience Builder URL for that site.

To create an embedded URL to switch to the landing page of a site that requires login, add this string to your Salesforce org URL: `/servlet/networks/switch?networkId=siteId`.

To link to a specific page on a site that requires user login, add `/servlet/networks/switch?networkId=siteId&startURL=pageSubpath` to your Salesforce org URL, where siteID is the 15-digit site ID and pageSubpath is the subpath for the site page. The site subpath varies based on the [site type](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&release=264.0.0&type=5 "Here are definitions to some key terms and concepts related to Experience Cloud."). In all cases, the base URL of the site is the URL listed in All Sites in Setup, which is either the URL up to the first slash or the URL up to the site name.

- For LWR and Enhanced LWR site pages, the pageSubpath is the string after the base URL. For example, if the base URL of the site is https://example.my.site.com, to switch to https://example.my.site.com/jobs, the pageSubpath is jobs. Or if the base URL for the site is https://example.my.site.com/store, to switch to https://example.my.site.com/store/cart, the pageSubpath is cart.
- For Aura site pages, the pageSubpath is the string that starts with s/. For example, s/shopping/cart in https://example.my.site.com/store/s/shopping/cart.
- For Visualforce sites, the pageSubpath is the string after the base path for the site. If /s/ is in the URL, start the pageSubpath with the s character.
    - For example, if https://example.my.site.com/shop is the base path for the site, to switch to https://example.my.site.com/shop/s/store/cart, the pageSubpath is s/store/cart.
    - For example, if https://example.my.site.com/shop/store is the base path for the site, to switch to https://example.my.site.com/shop/store/cart, the pageSubpath is cart.

Here’s another example. In an org with the URL https://example.my.lightning.com, we want to provide options for that user to switch from that org to the landing page and to the shopping cart of an LWR site with the network ID 3X0000000000012. The site requires user login, and the base URL is https://example.my.site.com/store and the shopping cart URL is https://example.my.site.com/store/cart.

To provide the option to switch to the site’s landing page, use this embedded URL: https://example.my.lightning.com/servlet/networks/switch?networkId=3X0000000000012.

And to provide the option to switch to the shopping cart, use this embedded URL: https://example.my.lightning.com/servlet/networks/switch?networkId=3X0000000000012&startURL=cart.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_warning.png)

Warning When you’re logged in as another user, you can’t use this method to switch to a site from the Salesforce org. Instead, go to the contact detail page, click **Login to site as user**, and select the site that you want to log in to. Switching to another site as another user only works when the specified URL is a root path.

Also, if you use the startURL parameter to point to a default landing page, unexpected behavior can occur.

#### See Also

- [Enable the App Launcher in Experience Builder Sites](https://help.salesforce.com/s/articleView?id=experience.community_builder_enable_app_launcher.htm&release=264.0.0&type=5 "Display the App Launcher in Experience Builder Sites to make it easy for members to move between their sites and their Salesforce org. This functionality is available in any site based an Experience Builder site template or Lightning Bolt solution.")
- [Enable the Global Header for Salesforce Tabs + Visualforce Sites](https://help.salesforce.com/s/articleView?id=experience.networks_enable_global_header.htm&release=264.0.0&type=5 "In Salesforce Tabs + Visualforce site and Salesforce Classic, the global header lets you switch between your sites and your Salesforce org.")
- [Experience Cloud](https://help.salesforce.com/s/articleView?id=experience.networks_overview.htm&release=264.0.0&type=5 "Salesforce Experience Cloud lets you create branded digital experiences to share information and collaborate with people who are key to your business processes, such as customers, partners, or employees. Whether you call it a portal, help forum, support community, or something else, an Experience Cloud site is a great place to connect with the important folks in your life.")