Kentico CMS 7.0 Developer's Guide

Metadata

Metadata

Previous topic Next topic Mail us feedback on this topic!  

Metadata

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Here your can manage the information describing the page. You can choose to inherit the values from the parent document or enter document-specific values.

 

Page settings

Page title

The page title is displayed to users in the header of their browser (or tab) when the page is viewed. It is also an important factor for Search engine optimization. Many search engines use this title for the page in their search result lists.

 

The content of the field is added into the <title> element in the HEAD section of the page's output.

Page description

A brief description of the page and its purpose that can be used for SEO purposes and when performing searches on the website.

 

The content of this property is added as a description meta element in the HEAD section of the page. This tag may be indexed by some search engines.

Page keywords

Adds meta keywords to the page, which may be used when searching the content of the website (for example by the built-in Smart search). Multiple keywords need to be separated by commas.

Tags

Page tag group

Tag group that will be used for tagging this document using the Page tags parameter below.

Page tags

Enter the Tags that you want to tag the document with.

 

When entering more than one tag into the Page tags field, the tags should be separated with a comma or a blank space. A combination of both in a single entry is also valid. The following examples are all valid entries for adding three tags - tag1, tag2 and tag3:

 

tag1, tag2, tag3

tag1 tag2 tag3

tag1, tag2 tag3

 

In case that you are entering a tag consisting of more than one word, you should enclose it within quotation marks. Multiple long tags can also be entered and can be also divided by both blank spaces and commas:

 

"long tag1", tag, "long tag2"

"long tag1" tag "long tag2"

 

Quotation marks can also be used for tags containing special characters that couldn't be used otherwise:

 

"tag@1", "tag#2", "long, strange: tag@#$"

 

The page tags field also has an autocompletion function implemented. This functions offers you tags from the selected tag group while you are writing.

 

 

InfoBox_Tip

 

Global Settings

 

You can configure a prefix for the page title, description and keywords for all documents on the website using the corresponding settings in Site Manager -> Settings -> Content. Here you can set the prefixes and also the standard format of the page title.

 

The default page title format is: {%prefix%} - {%pagetitle_orelse_name%}

 

It means that the format consists of the prefix followed by the page title value. If the page title value is not set, the document name is used.

 

Macro expressions in metadata

 

You can use macros in format {%ColumnName%} to insert the values of the current document's fields into the title or other metadata properties. See Development -> Macro expressions for more information about macro expressions.