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

WP Keyword use in HTML comments

Discussion in 'White Hat SEO' started by animatronico1, Jul 11, 2009.

  1. animatronico1

    animatronico1 Regular Member

    Joined:
    Oct 3, 2007
    Messages:
    205
    Likes Received:
    89
    do you know where in wordpress can I find this code to edit?
    Keyword use in HTML comments

    [if IE 6]>< link rel="stylesheet" href="http://mysite.com/wp-content/themes/melhor/ style.ie6.css" type="text/ css" media="screen" />< ![endif

    can't find it but I know is there some where
     
  2. justin

    justin Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 15, 2007
    Messages:
    505
    Likes Received:
    392
    in wp-content/themes folder try in the header.php or index.php
     
  3. animatronico1

    animatronico1 Regular Member

    Joined:
    Oct 3, 2007
    Messages:
    205
    Likes Received:
    89
    tried this but it's not there.
    I think that cod could be somewhere in the database because it's showing my domain name. and I don't think it would show my domain name on the template.
    or in the WP files.
    the thing is is showing the keyword in my domain and for that style for ie 6 and ie 7 and because I use the keyword in my site too it's showing in IBP as html comment too often and google can think i'm spamming my html comment :confused:
     
  4. justin

    justin Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 15, 2007
    Messages:
    505
    Likes Received:
    392
    Its not in the database. It is showing your site name coz its generated dynamically using
    Code:
    <link rel="stylesheet" href="[B]<?php bloginfo('stylesheet_url'); ?>[/B]" type="text/css" />
    
    If you have your theme files, open all PHP files and search for [if IE 6]. You will find it mostly in index.php or header.php
     
    • Thanks Thanks x 1
  5. animatronico1

    animatronico1 Regular Member

    Joined:
    Oct 3, 2007
    Messages:
    205
    Likes Received:
    89
    spot on Mate it was in the header. problem sorted