---
schema_version: "1"
id: 900928f35c4dd8ea88484bd39615021163846ddc0e0b1b4483ff7029a8f41cd3
title: Create Home Page Links
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_creating_home_page_links.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_creating_home_page_links.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 675f568aa8def004f08855ef7e3056cbc88653cdf6cdac1cec78a85d7b3eefce
description: If your host is listed as an alias, and only one locale is used for the site, you can create links to the home page that are search-friendly because they don't require additional information to determine the locale. In this case, you can use a hostname-only URL instead of generating links to the homepage via a B2C Commerce pipeline. If you have a multi-locale site, ignore the rest of this topic.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Create Home Page Links

If your host is listed as an alias, and only one locale is used for the site, you can create links to the home page that are search-friendly because they don't require additional information to determine the locale. In this case, you can use a hostname-only URL instead of generating links to the homepage via a B2C Commerce pipeline. If you have a multi-locale site, ignore the rest of this topic.

1. Directly reference the host name in a link, such as `<a href="http://${request.httpHost}/">home</a>`.
2. Review code that is taken from the SiteGenesis application and new custom code. This step is necessary because SiteGenesis is based on a multi-locale site and uses pipeline to generate home page links.
3. Check that the home page link generates via the pipeline Home-Show in these SiteGenesis templates: `components/header/header.isml`, `components/breadcrumbs.isml`, `components/contentbreadcrumbs.isml`, `components/productbreadcrumbs.isml`, and `search/components/productsearchbreadcrumbs.isml`.

When these templates are used in a custom application, the code must be modified to deliver the hostname-only URL. Hostname-only requests can be issued with or without one or more parameters, with corresponding default destinations.

  
| Hostname only | Default destination | Example |
| --- | --- | --- |
| Without parameters | Default-Start | `www.my-host.com/` |
| With one or more parameters | RedirectURL-Start | `www.my-host.com/?param=aValue`, enabling you to use the mapping rules functionality. |

The configuration value `apply-to-host-only-request-with-params` enables you to forward hostname requests with parameters to the configured pipeline. For example:

`"www.my-host.com":[{"pipeline":"Home-Show", "apply-to-host-only-request-with-params":"true"}]`