Ad

'title' Tag On The Header Is Missing In TYPO3 Template

- 1 answer

I set up a website using TYPO3 v9.5.9 and I can't find the <title> tag on the HTML source.

How can I insert the current page <title> automatically into the header?

Here is how my header is currently displayed:

<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base target="_blank" rel="nofollow noreferrer" href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="TYPO3 CMS" />
<link rel="stylesheet" type="text/css" target="_blank" rel="nofollow noreferrer" href="typo3conf/ext/frontend_editing/Resources/Public/Css/frontend_editing.css?1562352305" media="all" />
<link rel="stylesheet" type="text/css" target="_blank" rel="nofollow noreferrer" href="typo3/sysext/backend/Resources/Public/Css/backend.css?1566293615" media="all" />
Ad

Answer

This solution solved my problem. It was necessary to remove the line :

config.noPageTitle = 2

Thanks to @Riccardo De Contardi for this solution.

Ad
source: stackoverflow.com
Ad