How to customize TYPO3 page title tag

Customize your html title tag for better seo

The page title is one of the most important factors for search engine to crawler your website.

Typo3 lets you to add your page title in the backend and stores it into the database.

But you are flexible if you want to show it in different way.

For example if you would like to add your company name after it.

Page title - Brand Name

So how can you manage to edit it directly with TypoScript ??

It's simple,you just need to configure you headerData cObject:

# Remove the page title
config.noPageTitle =1
page = PAGE
page {
# Set a new title tag in headerData
headerData {
   10 = TEXT
   10 {
       field = title
       data = page:title
       wrap = <title>| Brand Name</title>
   }
}