November 29, 2006

Using the "Keywords" and "Description" Fields for Meta Tags

By: Ron Hall

Cat: TYP03

When you assign a TYPO3 page a type of "Advanced" you have access the "Keywords" and "Description" fields allowing you to enter keywords and a description of the page to use in meta tags. However, to get them to show on the page you must add the following to your page object in your Typoscript template:

meta.keywords.field = keywords
meta.description.field = description

Which will make your page object code look something like this:

page = PAGE
page {
    meta.keywords.field = keywords
    meta.description.field = description
    typeNum = 0
    10 = USER
    10.userFunc = tx_templavoila_pi1->main_page
}

Using keywords properly will help in your search page ranking.

 

Post a Comment

Please note that it can take a minute or two to save your comment. Wait for the page to refresh to see your comment.