1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick SEO Tip - Remove Generator Tag for Wordpress Blogs

Discussion in 'Blogging' started by Gurilla, Sep 10, 2009.

  1. Gurilla

    Gurilla Junior Member

    Joined:
    Feb 20, 2009
    Messages:
    150
    Likes Received:
    180
    If you install a new wordpress blog

    and view your page info via firefox you'll see something like


    Generator : Wordpress 2.5.8



    To remove this go to your theme folder

    find functions.php

    and add this line at the end - the very very end - after everythign - below everything

    Code:
    <?php remove_action('wp_head', 'wp_generator'); ?>
    this will remove that annoying meta tag

    it might help your indexation and over all seo

    removing this tag pretty much means the site is not a blog.

    not an auto blog, more specifcally ;)

    if google can't identify whether its wordpress or not .

    you have a better chance at indexation..etc

    basically my theory is this:

    google doesnt know if its a blog or not. (period)
     
    • Thanks Thanks x 1
    Last edited: Sep 10, 2009
  2. charson

    charson Newbie

    Joined:
    May 15, 2009
    Messages:
    34
    Likes Received:
    5
    Home Page:
    thanks for the info. i will try it out and see my SERPs for the weeks ahead
     
  3. Gurilla

    Gurilla Junior Member

    Joined:
    Feb 20, 2009
    Messages:
    150
    Likes Received:
    180
    keep me updated on how it works
    so far its kinda working good for my blog
    but its too soon to say

    i need as much info on this experiment as possible
     
  4. boiler

    boiler Power Member

    Joined:
    Apr 27, 2009
    Messages:
    677
    Likes Received:
    127
    Home Page:
    it's not work on my site using WP 2.8.4 :)

    use this one that worked on my site

    PHP:
    /* Remove WordPress generator meta tag */
    function rmv_generator_filter() {
        return 
    ''; }

    add_filter('the_generator''rmv_generator_filter');
     
    Last edited: Sep 11, 2009
  5. nufaman

    nufaman Elite Member

    Joined:
    May 29, 2009
    Messages:
    1,697
    Likes Received:
    1,185
    LMAO
    DO you think that removing a tiny tag will confuse google and it will not know if it is a blog?
    Please... they have the most advanced AI you can imagine. There must be 100 other ways they can know if it is a blog or not
     
  6. boiler

    boiler Power Member

    Joined:
    Apr 27, 2009
    Messages:
    677
    Likes Received:
    127
    Home Page:
    ^

    but at least removing the wordpress version can increasing the security :)
     
  7. comanche

    comanche Junior Member

    Joined:
    Jul 24, 2009
    Messages:
    114
    Likes Received:
    8
    Location:
    Canada
    I did it anyways. Probably won't have any effect but it makes my autoblogs feel safer :D
     
  8. hyuhin

    hyuhin Junior Member

    Joined:
    Dec 20, 2008
    Messages:
    101
    Likes Received:
    5
    i always do it, but does it really affect the seo thing?