Knowledge BaseSearch Engine Optimization

Search Engine Optimization

Sana Commerce 9.1
Your connector

Search Engine Friendly URLs

The URLs of the webstore are rewritten to become search engine friendly, this can potentially increase the presence of your webstore URLs in the search engine index .

The ASP.NET Routing is used to create such engine friendly URLs. It basically translates the parameters to a directory-like structure.


The code which contains implementation of the ASP.NET Routing for Sana Commerce, can be found in Sana.Commerce.Web.Business.Utilities.UrlRouting namespace in Sana.Commerce.Web.Business assembly.

The entry point for Routing-related functionality is the RouteManager class. This class is used to register virtual URLs to existing web pages of the webstore, as it can be found and edited in the Global.asax file.

If there is a need to customize the RouteManager class functionality a new class can be created which implements the IRouteManager interface. This new class should be then registered for the IRouteManager interface via ObjectManager.

Sana Commerce provides a possibility to enter the custom URL for any page in Sana Admin. You can also enter the custom URL per language.

URL redirects can be also created directly in Sana Admin.

The identifiers of the products, customers and orders are used in the URLs. If you need to use special symbols in the product IDs, customer IDs and order IDs, which are not allowed in the URLs, then character replacement rules should be configured in Sana Admin. For more information see 'Character Replacement Rules'.
Knowledge BaseSearch Engine Optimization