---
schema_version: "1"
id: b512f28bb4e2775d5cf886e4561ae827e882119a07cedcbe804a3f77cce5d47f
title: SEO Extensions for B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_sample_extensions.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_sample_extensions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: da6e6d497a0c004d9939e360cb5d4209ae559041043d2b22ac9099d96ac4b7b1
description: Check out these sample extensions for SEO.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# SEO Extensions for B2C Commerce

Check out these sample extensions for SEO.

## Home Page Link in Sitemap

The Salesforce B2C Commerce storefront generated map contains a link to the homepage of your store in the following format:

```
http://<alias>/on/demandware/Sites-<Sitename>-Site/default/Home-Show.
```

However, if you configure a domain alias for your site that resolves to your home page, using a rule similar to:

```
"www.mysite.com" : [
{"pipeline":"Home-Show"} 
],
```

Then the generated sitemap contains a link similar to:

```
http://www.mysite.com/
```

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Configure sitemap settings individually for each instance type. You can't replicate sitemap site preferences between Staging and Production or Development. Create the settings and job to generate the sitemap on each instance.

## Customize the Default URL Using the UpdatePageMeta Pipelet

This extension describes how to remove the product description from the end of the search-friendly URL, by creating a pipelet that is called before the UpdatePageMetaData pipelet that changes the inputs that are used for the `` `UpdatePageMetaData` `` pipelet.

This is a way to dynamically generate these values, without having to manually input them.

## Cache Permanent Redirects

The `redirectpermanent` template isn’t cached in SiteGenesis. If you don't cache it, the requests coming in go to the application server, which isn't good for the domain. This extension includes an `iscache` in the template, so that the template caches.

## Retrieve and Store Page Rankings

The simplest way to check that store page rankings is to type in your site name in the search engine you’re interested in and then count the sites from the top of the page.