To see the standard B2C Commerce URLs without search engine optimization, make sure that the URL Rules module is disabled.
URL syntax can be understood simply as a protocol (http), host name
(www.sitegenesis.com), and path
(/electronics/tvs/promopage.html).
This section is based on the following URL example:
http://www.mystore.com/on/demandware.store/Sites-YourShopHere-Site/EN_US/Search-Show?_ie=iso-8859-1&cgid=G
The following table illustrates the URL generation pattern without any optimization:
| URL part | Example Description | Example |
|---|---|---|
| Protocol | Protocol |
http
|
| Host name | Host or domain name that you define under |
www.mystore.com
|
| B2C Commerce identifier | A string indicating that the site is hosted on B2C Commerce. |
on/demandware.store
|
| Instance name | The instance name. The structure is:
organization-site_name-Site. The
organization name can be defined under . The site name is defined by clicking App Launcher , and then going to .
|
Sites-YourShopHere-Site
|
| Locale |
Defines the shown page's language. Global locales are set by clicking App Launcher The locales used by a site are set by clicking App Launcher |
EN_US
|
| Pipeline | Describes the pipeline to be used to get the desired content. |
Search-Show
|
| Encoding | Optional. Only included to use an encoding other than UTF-8. The underscore is part of the parameter name. Usually, this is only needed if there is an affiliate system that is incapable of UTF-8 encoding making a request. |
_ie=iso-8859-1
|
| Pipeline parameters | The parameters supplied to the pipeline to produce the page. In this case, the Search-show pipeline searches for the category id (cgid) of G. |
cgid=G
|
