Starts With Condition¶
Starts With condition is used to assign a template to page(s), URL of which starts with the specified string.
In the Condition field , you should specify the part of the URL with which the page URL should begin. Note that you should not specify domain name. For example, to assign a template to all pages that belong to the category 22 section of the site, you should use the following code:
/products/categories/22/
The sample page URLs given below match this condition, so template will be assigned to them:
http://www.mysite.com/products/categories/22
http://www.mysite.com/products/categories/22/product-list.aspx
http://www.mysite.com/products/categories/22/discounts
http://www.mysite.com/products/categories/22/discounts/summer-sale.aspx
See also