SEO¶
This chapter covers all aspects regarding search engine optimization for tt_address.
Routing¶
Routing can be used to rewrite the URLs for tt_address. The chapter Use Routing to rewrite URLs is a good starting point.
Custom Page Title¶
If a detail view is rendered, a custom page title provider changes the page title to a specific one provided by the extension. The following configuration is set by default:
plugin.tx_ttaddress.settings.seo {
pageTitle {
properties = title,firstName,middleName,lastName
glue = " "
}
}
The setting
properties
is a comma separated list of properties of theAddress
model which should be taken into account (if not empty).The setting
glue
defines how the values are combined together.
Meta Tags¶
Meta Tags are rendered by using the ViewHelper MetaTagViewHelper
.
.. code-block:: html
<!-- Example can be found in Partials/MetaTags.html <ttaddr:metaTag property="description">{address}</ttaddr:metaTag>
By default the meta tags for description
and og:description
are set.