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

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