Feature #55281
closedPage Generator: addMetaTag - TYPO3 version
0%
Description
Hi
Since many years it is not possible to remove the following meta tag.
<meta name="generator" content="TYPO3 6.1 CMS">
It should be easy to manage it with a TS condition.
./typo3/sysext/frontend/Classes/Page/PageGenerator.php
$pageRenderer->addMetaTag('<meta name="generator" content="TYPO3 ' . TYPO3_branch . ' CMS"' . $endingSlash . '>');
For example
if (intval($GLOBALS['TSFE']->config['config']['noGeneratorTag']) == 0) { $pageRenderer->addMetaTag('<meta name="generator" content="TYPO3 ' . TYPO3_branch . ' CMS"' . $endingSlash . '>'); }
Tested with 6.1.5.
Updated by Georg Ringer almost 11 years ago
- Status changed from New to Needs Feedback
Having this not configurable is kind of on purpose!
This tag does not harm your website, does not make it slower or more insecure!
If you really want to remove it because of speed, there are enough extensions and ways to e.g. remove all comments on the page and minimize page size for some bytes. If you really want to remove it because of any other reason, just use XCLASS.
As TYPO3 is absolutly free for you and everybody it would be really awesome if you could keep the tag.
Is that ok for you?
Updated by Georg Ringer almost 11 years ago
- Status changed from Needs Feedback to Closed
Updated by Benjamin Robinson about 10 years ago
I tried to overwrite the meta-tag with ...
page.meta.generator = TYPO3 CMS
... and found out that this it not possible. It results in two meta-generator statements:
<meta name="generator" content="TYPO3 6.2 CMS"> <meta name="generator" content="TYPO3 CMS">
BTW it sould be "TYPO3 CMS 6.2" instead of "TYPO3 6.2 CM" if a version number is mentioned.
I agree with Georg that the TYPO3-generator Tag should be kept, but I don't see any benefit in showing the version number in the FE's HTML. It's none of the website-visitor's businness if the CMS is not up to date. Do you think i should i open a new feature-request for removing the version-number?
Updated by Markus Klein about 10 years ago
Yes, please open a new ticket for the version number removal. At least for a correction to "TYPO3 CMS 6.2"
Updated by Benjamin Robinson almost 10 years ago
The correctionis already done. I opened a ticket for the version number removal: https://forge.typo3.org/issues/64429