Menü schliessen
Created: April 1st 2012
Last updated: May 1st 2020
Categories: Typo3
Author: Marcus Fleuti

Typo3 remove the CMS version from the generator meta tag without touching the original source

Tags:  Typo3
Donation Section: Background
Monero Badge: QR-Code
Monero Badge: Logo Icon Donate with Monero Badge: Logo Text
82uymVXLkvVbB4c4JpTd1tYm1yj1cKPKR2wqmw3XF8YXKTmY7JrTriP4pVwp2EJYBnCFdXhLq4zfFA6ic7VAWCFX5wfQbCC

The Problem

By default Typo3 adds the following information to the header data:

<meta name="generator" content="TYPO3 4.6 CMS">

This can be a problem because when hackers know the version of the CMS in use they can easily find an exploit to hack the website. Thus the headerData revealing the CMS' version should be hidden.

The Solution

1. Install the extension "sourceopt" from the Typo3 repository (TER)

2. Add the following code into the page template:

config.sourceopt.enabled = 1
config.sourceopt.removeBlurScript = 1
config.sourceopt.removeGenerator = 1