Added by Oleg.Litvinenko, last edited by Oleg.Litvinenko on Jul 22, 2010  (view change)

Labels:

title title Delete
seo seo Delete
browser browser Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

The SEO supports big amount of tokens.

If you want to view or add (edit) SEO tokens you need:
1. Open admin part.
2. Select 'Page Manager' in 'Page Management'.

Then you will see 'Page list'

Select some page to Edit.
Choose SEO tab on the page editor.

Add/Edit rules for SEO in "Replace title token" fields.

SEO Tokens

BATAVI has 2 main variables which are available on all pages: $page and $shop.
$page has next params:

[%$page.page_title%] - name of page
[%$page.title%] - name of page
Specific params list
[%$page.templates_pages_id%]
[%$page.page_keyword%]
[%$page.page_url%]
[%$page.page_redirect%]
[%$page.is_access_limited%]
[%$page.access_denied_text%]
[%$page.is_default%]
[%$page.is_locked%]
[%$page.group_id%]
[%$page.header_box_css_class%]
[%$page.site_content_box_css_class%]
[%$page.left_box_css_class%]
[%$page.right_box_css_class%]
[%$page.content_box_css_class%]
[%$page.footer_box_css_class%]
[%$page.show_in_sitemap%]
[%$page.require_ssl%]
[%$page.mod_rewrite_pattern%]
[%$page.group_ssl%]
[%$page.languages_id%]
[%$page.seo_parse_title_string%]
[%$page.seo_page_keywords%]
[%$page.seo_page_description%]

$shop has next param:

[%$shop.name%] - name of the shop

Next token $seo_title. Variable is available if there is boxProductDetail on a page.
The $seo_title has next params:

[%$seo_title.product.name%] - Name of product.
[%$seo_title.product.mpn%] - MPN of product.
[%$seo_title.product.category%] - Category name of product.
[%$seo_title.product.brand%] - Brand name of product.

Token $category is available if a page has boxCategoryInfo.
$category has the next params:

[%$category.name%] - name of category
[%$category.count%] - amount of categories
[%$category.count_sub_categories%] - amount of sub categories
[%$category.fake_category%]

Next token $brand. The token is available if there is boxBrandInfo or boxBrandshop on a page.
The $brand has the next params:

[%$brand.name%] - name of brand
[%$brand.keywords%] - keywords of brand
[%$brand.descriptionLong%] - long description for brand
[%$brand.descriptionShort%] - short description for brand
than 5 the listed tokens are also available tokens are defined directly in each box and token $text

The $text token contains languages definition values. For correct using the var you should add:

[%$text.<definition_key>%]
The same vars can be used for "Page description"
The Smarty vars are not supported in "Page keywords"