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

Hiding links in wordpress theme...how do they do it?

Discussion in 'Black Hat SEO' started by ntnsllc, May 20, 2011.

  1. ntnsllc

    ntnsllc Regular Member

    Joined:
    Jul 10, 2010
    Messages:
    204
    Likes Received:
    54
    Take a look at this url: http://www.mommymantras.com/wordpress/ and it looks innocent enough, right? However, when you view the source you can see a line of hidden links using a div class called WP_internal style=hidden then a bunch of spam links that I'm sure this poor mommy doesn't even know she's linking to.

    So a couple questions:

    1. Is this something coded into the theme template using Base64 or something?

    2. Are these links easy for Google to find and just discount immediately? It seems they are pretty easy to find.

    3. Does it work, and where can I find out how to do it?! If anyone has any resources and would like to share via pm, that's cool too. But if this is a "true" black hat forum, post the resource in the thread please.

    I am planning on creating wordpress themes with my link in the footer. But this method actually would give me better links that would appear to be in context rather than sitewide footer links which are not all that great anymore in my experience. So I'm looking for a little help understanding how this method works.

    Thanks bhatters!
     
  2. box0204

    box0204 Regular Member

    Joined:
    Jun 8, 2009
    Messages:
    207
    Likes Received:
    10
    its just a css display:none style. i've also wondered on the result of this too. this type of tactic has been in existence since early on. Im sure it was an old tactic that google has picked up if anything to detect display:none styles... but the thing is we all assume bots dont read style sheets, but in this case they would need to.

    instead of display:none, other clever tactics would be position:absolute; top:-999px; or width:1px;height:1px;overflow:hidden;text-indent-999px;

    and a bunch of others if you have ***** css skills.
     
  3. tpaolo

    tpaolo Regular Member

    Joined:
    May 28, 2009
    Messages:
    333
    Likes Received:
    45
    Post invisible or visibles links on footer.php is the most used method to get credits for free themes usage

    Code:
    <div style="display:none">your html code</div>
    another method is adding some line in functions.php to insert your desidered code on wp_footer () or any other variable you can create and post anyhwere, so the webmaster can't see the html code on template files for public pages

    Code:
    function credit_insert() {
        echo '<div style="display: none">your html code</div>';
    }
    
    add_action('wp_footer', 'credit_insert'); /* automatically insert the text in the footer of every blog 
    
    another one is to deactivate the whole theme if footer links were removed or edited, you can check it on free Shopping Press theme, you'll find a lot of encoded php anywhere that check for exact html code

    Code:
    hxxp://newwpthemes.com/wordpress-theme/shopping-press/
    IMO it gives better results only if theme is really really good

    however there is no garantie that webmaster doesn't find the trick and remove your links, but IMO it's a little % of them
     
    • Thanks Thanks x 3
  4. ntnsllc

    ntnsllc Regular Member

    Joined:
    Jul 10, 2010
    Messages:
    204
    Likes Received:
    54
    awesome, thanks for the explanations. I've known how to do this in footer stuff and have even decoded the Base64 to remove the hidden links in themes I've used. There are plugins that can detect these types of functions and tricky code.

    Mainly I was just wondering how these guys get these links hidden in context of posts without them being visible to the theme/site owner. You guys have pointed me in the right direction.

    Anyone else know if these links are effective at all?
     
  5. tpaolo

    tpaolo Regular Member

    Joined:
    May 28, 2009
    Messages:
    333
    Likes Received:
    45
    if you found my info useful, pls hit thanks button, :D
     
    • Thanks Thanks x 1
  6. box0204

    box0204 Regular Member

    Joined:
    Jun 8, 2009
    Messages:
    207
    Likes Received:
    10
    u can try this trick. it doesnt use display none or anything like that. you basically create another dive and just cover it.

    <div style="color:white;">my keyword and url here</div>
    <div style="background:white; margin:-100px 0 0 0;width:100%;height:50px;"></div>

    this method your basicallly overlapping the div below above the top one and making the font color the same as the background so it looks hidden.
    im not sure how google would penalize you in this manner as technically your not hiding your links.. you just either have a typo in your css or your just a really bad css coder. =)