SEO Capabilities

Search engine optimization (SEO) is an important element of the composable storefront framework. The implementation of SEO in composable storefront is focused on the architecture, rather than on features, so that a solid foundation exists for adding a wide range of SEO capabilities.

The SEO implementation in composable storefront includes the following:

Stateful URLs

Composable storefront provides a URL with a stateful address for every piece of the storefront. This makes it easier for users to navigate the storefront, and also allows web crawlers to index each and every page. As a result, more pages can be shared through social media, bots, and search indexes.

To serve stateful URLs for everything, composable storefront allow deep links to address any page. The URL routing configuration can also take into account a multi-site context, so that stateful URLs for special variants of the storefront can be launched and cached.

Configurable URLs

You can configure URLs for content pages by using the pageLabel in the CMS (back end). These page labels cannot be localized.

You can configure URLs for non-content pages in composable storefront. These are mainly related to product and category pages. You can configure attributes, such as the product name, to be part of the URL. For example, the default configuration for a product page is storefront.com/product/1234, but you can configure the URL to include product-related data, such as the product or category title.

Configurable URLs help to improve SEO in general, but can also be used to help migrate an existing solution to composable storefront: customers can keep their existing URLs, and configure the equivalent URLs in composable storefront.

Note: The product code is used for resolving the product data from the back end. The rest of the URL can be configured for SEO purposes.

Note: Some customers have product titles with special characters that will not work (for example, having a slash in the code or title). This might require special treatment of the attributes before or after they are used in the URL. Note that composable storefront does not include functionality for handling special characters.

Indexable Pages

Server-side rendering (SSR) is a technique that renders the JavaScript logic on the server side, and then provides rich content in the response. The SSR response contains the full HTML that is required by web crawlers to index or retrieve data from the response.

SSR is provided by composable storefront, and is planned to be a default deployment option in SAP Commerce Cloud.

For more information on SSR, see Server-Side Rendering Coding Guidelines and Controlling Server-Side Rendering.

Structured Data (schema.org)

Structured data is a standardized way of describing the page content of a website to make it easier for web crawlers and search engines to understand. Composable storefront supports various schemas natively. For more information, see Structured Data.

HTML Tags

HTML tags, and meta tags in particular, are used by search engines, social platforms, and crawlers to index page meta data into their platforms. Composable storefront provides various ways to resolve meta tags. For more information, see HTML Tags.