04/28/2016 03:32 PM Storefront SEO routing
Virto Commerce

Storefront SEO routing

Updated:
Contributors:
See all

Search Engine Optimization (SEO)

Goals

SEO is an important factor in an e-commerce site, marketing managers should be able to configure a site's URLs in a way that both the end user and search engines can understand. It also should support specifying the exact url for different languages.

  • create simple URLs that shoppers and search engines can understand
  • optimize page metadata to improve search engine page rank
  • generate site maps to submit to search engine providers
  • each page/product/category should be identifiable by a unique url (even language or store specific one)
  • should support filtering SEO (filters should always appear in the same order)
  • there should only be one URL for a page, every other URL should be automatically redirected

Storefront url structure

Each storefront url has the following structure /{store id?}/{locale?}/ where:

  • {store id?} - optional parameter can contains  requested store id, if not specified default store for this host will be used. Makes sense when one host have multiple stores. http://localhost/electronicshttp://localhost/clothing.
  • {locale?} - optional parameter represent language culture name (en-us, it-IT etc). Requested store should support specified language.
  • - request path witch handled by ASP.NET routing.

Storefront slug URL resolution rules

Storefront slug URL generation modes

The each VC store has a special setting which controls behavior how the SEO Slug URLs being generated on the storefront
image

Let's assume that we have followed virtual catalog structure

Physical catalog: physical-parent-category/my-cool-category/my-cool-product Virtual catalog: virtual-parent-category <- physical-parent-category (category link from Physical catalog)

So the resulting links on the storefront will be follow depend on active mode

Long: /virtual-parent-category/physical-parent-category/my-cool-category/my-cool-product - which represent full object outline path in hierarhy including virtual categories Collapsed: /virtual-parent-category/my-cool-category/my-cool-product -From URL will be excluded physical category which directly linked to the virtual category (very helpful mode if you want to link all products belongs to one or multiple physical categories to one virtual and hide their physical categories from resulting path) Short : /my-cool-product - used only SEO slug defined for end object without hierarchy path None: /product/123 - doesn't used slug at all, object type and identifiers used instead