Jeepstone

The home of Pete Jones

Remove the generator meta tag from Joomla

Sometimes it’s good to keep the fact that you’re running a Joomla site secret. In particular, some hackers might search for the meta tag in your document header saying:
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

This is easy to fix though, without having to hack the core Joomla code (as you should never do that should you?)

All you need to do is add the following line just after the call to insert the page header:

<jdoc:include type="head" />;
<?php $this->setGenerator('This site isn't written in Joomla - stop prying!'); ?>;

Tags:

This entry was posted on Monday, November 30th, 2009 at 1:07 pm and is filed under Joomla. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Jeepstone is proudly powered by WordPress 3.1 | Entries (RSS) | Comments (RSS).