Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
geocrasher
5y ago
0 comments
Save
Share
True, but modifying core files to send the header isn't good either because you'll have to redo the change at every update. Also, most security plugins such as Wordfence will choke on a modified core file, and rightly so.
0 comments
2 comments · 1 top-level
top
newest
oldest
redwall_hp
5y ago
· 1 in thread
You can chuck the same hook (as seen in the original link) into your theme's functions.php file. Or make your own plugin to hold miscellany.
mritzmann
5y ago
Or you can set the header in your web server configuration.
j
/
k
navigate · click thread line to collapse