SEO-friendly URL construction with a default catalog
SEO-friendly URLs are constructed by using a pattern to
determine how to build the URL. A part of the pattern requires the
tokens StoreToken:CatalogToken
to be defined in the SEOURL table and an associated URLKEYWORD in
the SEOURLKEYWORD table. With the
introduction of a default catalog, a StoreToken:
token
entry is preconfigured in the SEOURL table.
SEOURL_ID | TokenName | TokenValue |
---|---|---|
13227 | StoreToken:CatalogToken |
'10001:' |
CatalogToken
value in the TokenValue column.
By default, if you do not specify a default catalog in the Catalogs tool,
the master catalog is the default catalog.If your store contains sales catalogs and the catalogs do not have
token entries in the SEOURL and SEOURLKEYWORD tables, then an SEO URL cannot be constructed
for your sales categories. But, if you set the sales catalog as your
default catalog, then the preconfigured StoreToken:
token
entry is used and an SEO URL is constructed with the associated URLKEYWORD,
in this case 'aurora'.
- In the Catalogs tool, you create a sales category in a sales catalog.
- In the Search Engine Optimization tab of the sales category, you specify a URL keyword sales-apparel.
- Set the sales catalog as your default catalog.
However, if you set up tokens in the SEOURL and SEOURLKEYWORD tables for the sales catalog, then the new URLKEYWORD entry is used instead. To set up tokens for your sales catalog, you must Enable SEO with sales catalogs.