New Feature: Site Generator Replacement

This plugin will easily let you change all of the Site Generator tags for all blogs.

You will find the settings under Site Admin -> Options.

Please see the install file for specific usage install procedures.

  • Marko
    • Design Lord, Child of Thor

    Thanks for this plugin. I’m not sure if it’s working as it should on my MU installation. Before I’ve uploaded this plugin, in the Page Source there were two places where ‘generator’ has appeared.

    <meta name="generator" content="WordPress 2.6.1" /> <!-- leave this for stats -->

    and the few lines bellow

    <meta name="generator" content="WordPress 2.6.1" />

    This is the situation after the upload:

    <meta name="generator" content="WordPress 2.6.1" /> <!-- leave this for stats -->

    and the few lines bellow

    <meta name="generator" content="Site Name" />

    Is this a normal behavior? Thanks.

  • drmike
    • DEV MAN’s Mascot

    The “Leave for stats” one may be hardcoded into the theme’s header.php.

    Not sure about the second one as I’ve not tried this plugin. We’ve just hardcoded all of the themes to show where the content is really coming from and removed the version number.

  • Marko
    • Design Lord, Child of Thor

    Thanks drmike. That’s what I usually do but I thought that this plugin does it instead. But it’s not actually a problem. If I can change 10-15 files upon upgrade than I can also change this:slight_smile:

  • Luke
    • The Crimson Coder

    <meta name=”generator” content=”WordPress 2.6.1″ /> <!– leave this for stats –>

    That’s hardcoded in a header.php file, within the theme. Just take it out from the theme.

    As of like, 2.5, WP adds that generator tag automatically through the wp_head action. Which is why you’re seeing it twice both before and after the plugin being added.

    Once you get it installed, you can follow the plugin directions for use, and it will replace the one automatically generated. If you’ve removed the hardcoded one in a theme, then you’ll only see 1, which is the one from the plugin.

    Other than that, that’s it. There isn’t anything you have to upgrade when you upgrade WP.

  • Andrew
    • Champion of Loops

    Hiya,

    I just tossed the plugin onto a fresh WPMU 2.8.5.2 site and a fresh site running WPMU 2.8.5.2 and BP 1.1.2. It’s working ok on both of those sites.

    Which theme are you using? Perhaps it has the generator tag hardcoded in the header.

    Can we get a link to your site?

    Thanks,

    Andrew