---
schema_version: "1"
id: dab56e8574a458436eaa66017145a61243ac6406a83fa1ef0f3223fe4196975e
title: Configure the Default Login Page to Use a Custom Home Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/networks_configure_custom_home_page_with_oauth.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.networks_configure_custom_home_page_with_oauth.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f5451020569702dc38480515badac227086573fb596fd5d74ff86796b500f638
description: If you're using external authentication providers and a custom home page, ensure that users are accessing the correct home page.
products:
  - Experiences
release: "264"
---
# Configure the Default Login Page to Use a Custom Home Page

If you're using external authentication providers and a custom home page, ensure that users are accessing the correct home page.

### 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>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</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="d106288e70">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">To access Experience Workspaces:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">
              <ul>
                <li>Manage Experiences OR Create and Set Up Experiences</li>

                <li>AND is a member of the site</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">To customize administration settings:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">
              <ul>
                <li>Create and Set Up Experiences</li>

                <li>AND is a member of the site</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">To edit Apex classes:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d106288e70 ">Author Apex</td>

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

Edit the `CommunitiesLandingController` so that it has the correct `startURL` for your Salesforce Tabs + Visualforce site. The `CommunitiesLandingPage` is the Active Site Home Page for your site, meaning that it is shown when someone enters a direct URL to your site. For instance, if your domain is universaltelco.my.site.com and your site URL is customers, the `CommunitiesLandingPage` is shown when someone enters https://universaltelco.my.site.com/customers.

There are two methods for using a custom home page.

- Update the `CommunitiesLandingController` code to redirect to the new page:
    1. From Setup, enter Apex Classes in the Quick Find box, then select **Apex Classes**.
    2. Click **Edit** next to `CommunitiesLandingController`.
    3. Replace the code so that it reads:
        
        ```java
        public with sharing class CommunitiesLandingController {
        public PageReference forwardToStartPage() {
        }
        }
        ```
    4. Replace https://universaltelcom.my.site.com with the URL for your site.
    5. Click **Save**.
- Alternatively, you can replace the Active Site Home Page with a custom Visualforce page.
    1. From Setup, enter Digital Experiences in the Quick Find box, then select **All Sites**.
    2. Click **Workspaces** next to the site name.
    3. Click **Administration** | **Pages** | **Go to Force.com**.
    4. In the Site Detail section, click **Edit**.
    5. In the Active Site Home Page field, select your custom Visualforce page.
    6. Click **Save**.

When a user enters the URL, they see the new Active Site Home Page.