Closed (outdated)
Project:
Remove Generator META tag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2016 at 10:00 UTC
Updated:
28 Jun 2023 at 18:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chi commentedThat's simple enough.
Comment #3
sachbearbeiter commentedThanks a lot ...
I don't know if this is caused by the Metatag Module (but nothing configured related to the generator tag), but i still see in the head:
<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />after installation of your version?
Regards
SB
Comment #4
chi commented@sachbearbeiter, have no idea. The module is just one hook. You can try to debug it yourself.
Comment #5
chi commented@sachbearbeiter, you are right, there was a mistake in previous patch. Please try this one.
Comment #6
sachbearbeiter commentedTested and 3, 2, 1 -> no generator tag anymore ;)
Thanks a lot ...
Regards
SB
Comment #7
VikrantR commentedHi Sachbearbeiter,
Extension to this, We can add "Hide X-Generator" for Drupal 8 Version.
See @ https://github.com/vikrantrc/Remove-X-Generator
Thanks,
Vikrant
Comment #8
VikrantR commentedDrupal 8 version of this patch works well for me.
Thanks,
Vikrant
Comment #9
VikrantR commentedExtension to this, added "Hide X-Generator" for Drupal 8 Version.
Comment #10
VikrantR commentedComment #11
cybermache commentedIs there any reason we are not adding this hook to our [YOURTHEMENAME].theme file? Since it's just one hook with no UI.
Comment #12
devoleksiy commentedHow to remove X-Drupal-Cache: HIT ?
Comment #13
Chris7419 commentedHi,
if you put site into maintenance mode, the Generator is visible.
Comment #14
Anonymous (not verified) commentedWhy doesn't it work if I set the server headers -> Header unset "X-Powered-By" or expose_php = off
Comment #15
wessel@techtribe.nl commentedhttps://www.drupal.org/project/remove_http_headers
Comment #16
markdorison