Goal
Individual multi-language page titles within a website with the TYPO3 Extension mf_pagetitle 1.0. 
If your website offers different content under the same domain name, different page titles for each segment of your site are nice to look at and will benefit also the search engines.

 

Example: virgingroup.com is your domain name

On your website you have content about not only one business segment. There is content about Virgin Atlantic (your airline business), Virgin Cola, Virgin Records and Virgin Trains. For each of those pages within your site you want individual page titles in their respective language.

 

Solution

Create an extension template on the page you want to appear an individual page title, e.g. for the Virgin Cola page. This also gives you the opportunity to set new keywords reflecting the different content. Then enter  the following code into your typoscript setup:

 

# Default PAGE object:
page = PAGE
page.typeNum = 0
page.bodyTagMargins = 0
page.meta.KEYWORDS = Cola, Virgin, Softdrink, Caffeine, Sixpack, Best Cola
page.shortcutIcon = fileadmin/favicon.ico 


#This script is used to change the pagetitle
includeLibs.pagetitle = typo3/ext/mf_pagetitle/pagetitle.php
plugin.mf_pagetitle.title = Virgin Cola - The best Cola in the World!


[globalVar = GP:L = 10]
  plugin.mf_pagetitle.title = Virgin Cola - Das beste Cola der Welt!
[globalVar = GP:L = 11]
  plugin.mf_pagetitle.title = Virgin Cola - Le meilleur Cola du monde!
[GLOBAL]
config.titleTagFunction = user_pagetitle_class->changetitle

 

Make the necessary changes to suit your TYPO3 configuration in the above code and you will be set.